I have a VERY basic (and short lived) project requiring a microcontroller to post data to an API through the serial port (UART). All I need to do is hit a URL with the data as a single parameter in the URL. I’d like to use my existing Raven XT (Verizon) and simply use AT commands through the serial port. I can configure the port as I want, seemingly open the connection using ATD, but from there I cannot find a simple example to hit the URL and receive a text response from the server (it’s a simple OK or FAIL reply). Can anyone assist in the data flow for this? I’m expecting:
[set dial to a domain name on port 80 (HTTP)]
ATS53=domain/80
[open the TCP connection]
ATD
[not sure what to do here. I need to hit a PERL script at an address similar to http://domain/cgi-bin/upload.pl?value=xxxxx]
[Output response from server to the serial port]
[complete the transaction]
+++
[close the connection]
ATH
Any help would be GREATLY appreciated. Thank you.