It is possible to communicate with Databoom by using cURL.



cURL commands

From the command line digit the curl command. In order to forward requests to Databoom, an user generated oAuth token is required in the header.

There are two commands to specify an header in cURL, --header or its abbrevation -H.

curl -H 'Authorization: Bearer <OAUTH TOKEN DATABOOM>' <DATABOOM SERVER URL>



Databoom data forwarding

In order to forward data to Databoom, the Content-Type header is required 

-H "Content-Type: application/json"

Data to forward, in JSON format, has to be specified within --data (or its abbrevation -d).

An example of a complete data forwarding curl command is the following:

curl --header 'Content-Type: application/json' --header 'Authorization: Bearer <OAUTH TOKEN DATABOOM>' --data '{"device": "<DATABOOM DEVICE TOKEN>", "date":"<VALUE DATE>", "signals":[{"name": "<DATABOOM SIGNAL TOKEN>", "value": "<VALUE>"}]}' 

Data format to be forwarded is deeply explained in the dedicated page.

Have more questions? Submit a request


Please sign in to leave a comment.