4 years ago.

Http Requests with Serial Protocol

Hi folks!

I'm trying to figure out how can I make HTTP requests with Serial Protocol?

I'm using EMW3162 Wi-Fi Module

I set up it manually as TCP Clinet on given IP address and port and then I initialize it with <<code>>Serial wifi(PA_9, PA_10);<</code>> in my code so there is possibility to printf to socket and connect fe with remote net cat server. I would like to have ability to make normal http requests to my remote server. Do you know any ways to achieve this or any libraries with which I can parse raw GET/POST data into string and then make standard <<code>>wifi.printf(string)<</code>> in my code so there is possibility to printf to socket and connect fe with remote net cat server. I would like to have ability to make normal http requests to my remote server. Do you know any ways to achieve this or any libraries with which I can parse raw GET/POST data into string and then make standard <<code>>wifi.printf(string)<</code>> ?

Thank you for your help!

Be the first to answer this question.