Send an HTTP POST request to my custom web service


#1

Hello,

I’ve bot the cellular stick and have it attache to a raspberry pi, I’ve successfully sent messages to hologram cloud, but what I’m wondering is how to send a POST request from my unit to a custom web service?
I tried the custom cloud but seems like the protocol is not what I’m looking for, it does not send out http requests.
Thanks


#2

Hey @kam.ali,

For this my suggestion would be to use the .connect function. This will connect you to the internet and route all your Pi’s traffic through the Nova. After that you should be able to send POST calls with whatever you would normally use.

Two quick things to point out are to remember to disconnect and to make sure there are no background processes that will use the internet to make sure you don’t get any data usage surprises.

Best,
Maiky