Skip to Content
-1
Mar 29, 2018 at 07:12 AM

HCP-IOT POST using HTTP from a GSM MODULE?

766 Views Last edit Mar 29, 2018 at 07:20 AM 3 rev

My HTTP CODE -

URL: https://iotmmsp2000074374trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/data/d000-e000-v000-i000-c000-e001\

Content-Type: application/json

Authorization: Bearer XXXXX......XXXXXXXXX

Cache-Control: no-cache

Postman-Token: 821a903d-1590-b90d-6516-d57681c2acef

{ "mode":"sync", "messageType":"XXXXXXXXXXXXXXX", "messages":[ { "timestamp": 11623333333, "temp": 32 } ] }


Now ->

While creating the HEADER for HTTP POST, how to use Authorization in the code?

I am unable to POST data.

https://arduino.stackexchange.com/questions/51263/how-to-construct-data-http-post-header-for-at-commands-using-arduino