{"id":2579,"date":"2012-11-09T10:44:55","date_gmt":"2012-11-09T18:44:55","guid":{"rendered":"http:\/\/m2msupport.net\/m2msupport\/?page_id=2579"},"modified":"2017-09-06T21:46:50","modified_gmt":"2017-09-07T04:46:50","slug":"athttppara-set-paramaters-for-http-connection","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/athttppara-set-paramaters-for-http-connection\/","title":{"rendered":"AT+HTTPPARA &#8211; Set paramaters for HTTP connection"},"content":{"rendered":"<p>AT+HTTPPARA AT command is used to setup HTTP parameters such as URL, CID, HTTP proxy server and port, any HTTP re-direction controls, timeout values etc.<br \/>\nWith <a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"> AT Command Tester<\/a> tool, you can test Simcom HTTP feature.<\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_http1.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n<p>Send batch of AT commands in the script mode,<br \/>\n<code><br \/>\n\/\/Check the registration status<br \/>\nAT+CREG?<\/p>\n<p>\/\/Check whether bearer 1 is open.<br \/>\nAT+SAPBR=2,1<\/p>\n<p>\/\/Enable bearer 1<br \/>\nAT+SAPBR=1,1<\/p>\n<p>\/\/Wait untial bearer is activated<br \/>\nWAIT=6<\/p>\n<p>\/\/Initialize HTTP service<br \/>\nAT+HTTPINIT<\/p>\n<p>\/\/Set the HTTP URL<br \/>\nAT+HTTPPARA=\"URL\",\"http:\/\/www.m2msupport.net\/m2msupport\/http_get_test.php\"<\/p>\n<p>\/\/Set the context ID<br \/>\nAT+HTTPPARA=\"CID\",1<\/p>\n<p>\/\/Set up the HTTP action<br \/>\nAT+HTTPACTION=0<\/p>\n<p>\/\/Do a HTTP read<br \/>\nAT+HTTPREAD<\/p>\n<p>\/\/Wait for the HTTP response<br \/>\nWAIT=6<\/p>\n<p>\/\/Terminate the HTTP service<br \/>\nAT+HTTPTERM<br \/>\n<\/code><\/p>\n<p><a href=\"http:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\"><img decoding=\"async\" src=\"http:\/\/www.m2msupport.net\/m2msupport\/wp-content\/themes\/admired\/images\/sim_http2.PNG\" height=\"95%\" width=\"95%\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AT+HTTPPARA AT command is used to setup HTTP parameters such as URL, CID, HTTP proxy server and port, any HTTP re-direction controls, timeout values etc. With AT Command Tester tool, you can test Simcom HTTP feature. Send batch of AT &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/athttppara-set-paramaters-for-http-connection\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"atcommands.php","meta":{"footnotes":""},"class_list":["post-2579","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":10,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/2579\/revisions"}],"predecessor-version":[{"id":9445,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/2579\/revisions\/9445"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}