Http client¶
/stm.cgi?httpget¶
Configure the HTTP client settings.
GET /stm.cgi?httpget=A*B*C*D*E*F*G*H*I*J*K*L*M*N
Adetermines whether certain flags are set, integer0-15(4 bits - Enable periodic sending, Send by GSM modem, Use double percent signs for inserting device readings, Use Digest Authentication)B,F,I,Lare host parts for URL1-URL4, stringC,G,J,Mare port parts for URL1-URL4, integerDis the sending period in seconds, integerE,H,K,Nare path and parameters parts for URL1-URL4, string
Adetermines whether Enable periodic sending and Send by GSM modem are enabled, integer0-3(2 bits - 1st is Enable periodic sending and 2nd is Send by GSM modem)B,F,I,Lare host parts for URL1-URL4, stringC,G,J,Mare port parts for URL1-URL4, integerDis the sending period in seconds, integerE,H,K,Nare path and parameters parts for URL1-URL4, string
Important
Few characters have to to be replaced in path and parameters parts (E, H, K, N):
& --> `
% --> !
Example:
http://192.168.1.100/stm.cgi?httpget=0*api.thingspeak.com*80*30*update?api_key=xxxxxxxxxxxxxxxx`field1=!062*host2*80*url2*host3*80*url3*host4*80*url4