BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2009, 01:12 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to send Credentials in HTTP request?

Please Login to Remove!

I need to include username/password when I send HTTP request using POST and GET methods. How can I do it?

HttpConnector provides only setRequestProperty method for adding headers. I can set header name as "Authorization" but what about value?
Offline  
Old 07-23-2009, 03:32 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

See this knowledgebase article:

Livelink - Redirection
Offline  
Old 07-23-2009, 04:18 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Allen Bradley, SLC 500, 1747-M2, SER A, 32K EEPROM Memory, Used
$30.0
Allen Bradley, SLC 500, 1747-M2, SER A, 32K EEPROM Memory, Used pictureAllen Bradley 1785-ME64 /A PLC-5 EEPROM Ethernet Memory Cartridge 64K Words
$289.0
Allen Bradley 1785-ME64 /A PLC-5 EEPROM Ethernet Memory Cartridge 64K Words picture5PCS M24C02WP 24C02WP original Serial EEPROM, 256 x 8, 8 Pin, Plastic, SOP
$2.38
5PCS M24C02WP 24C02WP original Serial EEPROM, 256 x 8, 8 Pin, Plastic, SOP pictureDataMan S4 Programmer 512K Portable EPROM EEPROM PIC MicroChip Chip Burner
$300.0
DataMan S4 Programmer 512K Portable EPROM EEPROM PIC MicroChip Chip Burner picture2Pcs Sop8 Eeprom Atmel At93c56a At93c56 93C56 Sop-8 New Ic V
$1.68
2Pcs Sop8 Eeprom Atmel At93c56a At93c56 93C56 Sop-8 New Ic V picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.