Dear friends,
I have a project where I need to read a string from a URL using SIM900 module and ARM microcontroller.
Looking into the manuals I found out that I need to use HTTP commands. Everything is fine, I only have one little problem. I do not have the actual UR, I just have the IP address of the URL(104.131.67.214). How ap I supposed to use it with AT+HTTPPARA?
is this correct? AT+HTTPPARA = "URL","104.131.67.214"
best regards
Just a note - it can matter for the web server if you know the actual host name or just an IP number.
A single server can have multiple names, and host multiple web sites - and decide which web site to present based on which name you specified. There is a HTTP field in the request that informs the server about which host name you used when locating the server.
The above is what makes it possible for a web hotel to handle a huge number of web sites without requiring a huge number of machines or a huge number of IP numbers - extra important because of the scarcity of public IPv4 addresses.