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
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