Hi,
I am having the same kind of trouble as the user who posted this:
https://www.digi.com/support/forum/66120/http-get-in-api-mode-on-xbee-lte-cat-1
I am trying to perform a simple HTTP GET request on httpbin.org using the API mode. I have been able to do it using putty, both with the url and its IP address, which is 54.225.153.22. I found it using https://www.site24x7.com/find-ip-address-of-web-site.html.
When I perform the following request:
(newline)
GET /get HTTP/1.0
HOST: www.httpbin.org
(newline)
I receive the intended result, using putty, and the connection closing. Both happens when using the url and IP address.
When trying to do the same using the API mode I receive a TX status, notifying me that the connection is lost, and nothing else.
The frame I am sending is the following, generated using XCTU:
7E 00 38 20 01 36 E1 99 16 00 50 00 01 01 00 0D 0A 47 45 54 20 2F 67 65 74 20 48 54 54 50 2F 31 2E 30 0D 0A 48 4F 53 54 3A 20 77 77 77 2E 68 74 74 70 62 69 6E 2E 6F 72 67 0D 0A 5A
Any kind of help would be greatly appreciated.
Thank you all in advance.
Edit:
I solved the problem. I changed the port number like tckr suggested, and added another newline to the payload (0D 0A), like mvut suggested..