Is there a legato http Post function?

#1

Hi is there some kind of http post function built into legato? I was wondering about using http posts to communicate with say AWS or G-cloud is this possible our would it require a lot of development?

thanks

0 Likes

#2

We are looking at making sample to connect to aws, azure and google cloud this year. Does anyone in the forum have insights that we can leverage before we go down this road .

0 Likes

#3

I was thinking of maybe trying to follow this instead (use MQTT) but I’m not sure yet https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/master/PortingGuide.md

I assume you can install libCurl as well if I want to use the httpPost to go to the AWS REST API

0 Likes

#4

There’s this HTTP GET example: https://github.com/legatoproject/legato-af/tree/master/apps/sample/httpGet

I’m sure it would be fairly easy to adapt it to use POST.

1 Like