Hello,
I’m using the module BC660K-GL Development Kit to try out HTTP over the TCP sockets.
After the connection is accomplished and the module is got the IP address, I use the given command to open a TCP socket.
AT+QIOPEN=0,0,“TCP”,“www.google.com”,80,0,1
After this command, I use this command to send a GET request. But as soon as I send a get request the connections gets closed.
AT+QISEND=0,46,“GET / HTTP/1.1\r\nHost: www.google.com\r\n\r\n”
When I send the same HTTP request using the Postman, I can get a result and response.
My aim is to use the s3 bucket from the amazon to download our firmware. But I cant get the response.
What could be the problem? I have tried different API endpoints too.
Any suggestions would be really helpfull. Thanks.