Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

non standard http headers - sim900

Status
Not open for further replies.

mike d

Newbie level 1
Joined
Jan 8, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
hi everyone

using the sim900 (R11.0) h/w and AT command set with http i would like to add non standard headers i.e. those not supported by the AT command AT+HTTPPARA (to 'POST' to COSM/pachube, e.g. a required non standard headers is the api key). should i be able to add those headers as part of the message body using AT+HTTPDATA following the normal http request format like this (plain text?):

<header param>: <value>CRLF
<header param>: <value>CRLF
CRLF
<body>

initial testing didn't appear to work.

other examples here use AT TCP related commands to describe the http POST request (request line, headers, content) so i guess that's an alternative

thank you for any help
mike
 

If you want to send custom header fields you'll have generate the HTTP request on your own: Look at the FAQ titled " How do I make a GPRS connection and send an HTTP Request?" on this page: **broken link removed**
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top