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 1747-L552 Series B Processor SLC 5/05 CPU
$1150.0
Allen Bradley 1747-L552 Series B Processor SLC 5/05 CPU pictureOlympus MAJ-1428 Keyboard for CV-180 Processor
$99.0
Olympus MAJ-1428 Keyboard for CV-180 Processor  pictureNew Sealed GE/Fanuc IC693CPU331 W IC693CPU331 CPU 331 Module (16K Bytes), The b
$1200.0
New Sealed GE/Fanuc IC693CPU331 W IC693CPU331 CPU 331 Module (16K Bytes), The b pictureSIEMENS 6ES7154-8FB01-0AB0 ET200PRO: IM 154-8F PN/DP CPU, 512KB
$800.0
SIEMENS 6ES7154-8FB01-0AB0 ET200PRO: IM 154-8F PN/DP CPU, 512KB pictureAllen-Bradley 1747-L531 SLC 5/03 Processor 8K Memory, DH485 & RS-232, Series E
$125.0
Allen-Bradley 1747-L531 SLC 5/03 Processor 8K Memory, DH485 & RS-232, Series E picture






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