phil31
1
Dear All,
i manage to use a socket as TCP client. using AT+SCON=O,TCN,192.168.0.50,1000,0,0
when required, the module open a link to the TCP server and send some data to the defined IP:PORT (here, to 192.168.0.50:1000)
that work as expected
but how to do if i need to add an URL to the IP ?..
by example 192.168.0.50:1000/URLtest
thanks, regards
Phil
Hi pill
Please refer to the following link.
stepwise.hk/wdwiki/Lecture/W … esOverview
maybe if you want to connect to the example url.
- connect to IP:port using SCON command
- send http request to server.(you can refer to the data format in upper link)
for example…
GET /URLtest HTTP/1.1
host: 192.168.0.50:1000
phil31
3
yes for sure… my apology for that “stupid” question !
was late in the night !
thanks Daniel, regards