{"id":21709,"date":"2019-03-21T21:52:53","date_gmt":"2019-03-22T04:52:53","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=21709"},"modified":"2019-03-21T22:31:23","modified_gmt":"2019-03-22T05:31:23","slug":"http-testing-with-simcom-sim7500-sim7600-sim7100-and-sim53xx-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/http-testing-with-simcom-sim7500-sim7600-sim7100-and-sim53xx-modules\/","title":{"rendered":"HTTP testing with Simcom SIM7500, SIM7600, SIM7100 and SIM53XX Modules"},"content":{"rendered":"<h3>Steps to test HTTP GET with SIM7500, SIM7600, SIM7100 and SIM53XX Modules<\/h3>\n<ul>\n<li>Verify that the device is registered with the network provider<\/li>\n<li>Specify the host name with the AT+CHTTPACT command<\/li>\n<li>Once the device responds with&nbsp;+CHTTPACT: REQUEST, send the HTPP formatted data<\/li>\n<li>If the request is successful, HTTP response is sent with the +CHTTPACT:DATA response from the device.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a> Tool provides an interface to test the HTTP GET connection with the Simcom modules. Enter the host name and the URL fields and press the &#8216;HTTP GET&#8217; button.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21710\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get.png\" alt=\"\" width=\"857\" height=\"734\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get.png 857w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get-300x257.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get-768x658.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_get-600x514.png 600w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/a><\/p>\n<h3><strong>For HTTP POST,<\/strong><\/h3>\n<ul>\n<li>Specify the host name with the AT+CHTTPACT command<\/li>\n<li>Build HTTP POST request with the host name, URL and the post parameters.<\/li>\n<li><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a> Tool provides an interface to test the HTTP POST connection with the Simcom modules. Enter the host name, URL and the post data&nbsp; fields and press the &#8216;HTTP POST&#8217; button.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21711\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post.png\" alt=\"\" width=\"856\" height=\"728\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post.png 856w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post-300x255.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post-768x653.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500a_http_post-600x510.png 600w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/a><\/p>\n<h3><strong>HTTP GET SCRIPT MODE<\/strong><\/h3>\n<p>HTTP GET function can also be tested with script mode in the&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a>&nbsp;tool.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21712\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get.png\" alt=\"\" width=\"859\" height=\"738\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get.png 859w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get-300x258.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get-768x660.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_get-600x515.png 600w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/a><\/p>\n<p>Try the script in&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a>&nbsp;tool.<\/p>\n<pre style=\"color: blue; background-color: white; border: 1px solid black;\">\/\/Script: simcom_http_get_53xx_7500x_7600x.at\n\/\/Use this script to test HTTP GET AT command with Simcom modules.\n\/\/This script can be used on following Simcom modules-\n\/\/SIM53XX, SIM7100X, SIM7500X, SIM7600X\n\n\/\/Launch the HTTP Operation\nAT+CHTTPACT=\"httpbin.org\",80\n\n\/\/Wait for the +CHTTPACT: REQUEST from the module\nWAIT=1\n\n\n\/\/Build a HTTP GET request\n\/\/ are script commands for carriage retun and line feed\n\/\/^z is a script command to send the CTRL+Z character\nGET http:\/\/httpbin.org\/get HTTP\/1.1Host: httpbin.orgUser-Agent: AT Command TesterContent-Length: 0&lt;cr&gt;&lt;lf&gt;&lt;cr&gt;&lt;lf&gt;^z&lt;cr&gt;&lt;lf&gt; \n\n<\/pre>\n<p>Output of the script in the&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a>&nbsp;tool.<\/p>\n<pre style=\"color: blue; background-color: #ffffcc; border: 1px solid black;\">AT+CHTTPACT=\"httpbin.org\",80\n\n+CHTTPACT: REQUEST\nGET http:\/\/httpbin.org\/get HTTP\/1.1\nHost: httpbin.org\nUser-Agent: AT Command Tester\nContent-Length: 0\n\n\nOK\n\n+CHTTPACT: DATA,404\nhttp\/1.1 200 ok\naccess-control-allow-credentials: true\naccess-control-allow-origin: *\ncontent-type: application\/json\ndate: fri, 22 mar 2019 04:50:32 gmt\nserver: nginx\ncontent-length: 184\nconnection: keep-alive\n\n{\n  \"args\": {}, \n  \"headers\": {\n    \"Host\": \"httpbin.org\", \n    \"User-Agent\": \"AT Command Tester\"\n  }, \n  \"origin\": \"216.3.13.179, 216.3.13.179\", \n  \"url\": \"https:\/\/httpbin.org\/get\"\n}\n\n+CHTTPACT: 0\n\n<\/pre>\n<div><\/div>\n<div>\n<h3><strong>HTTP POST SCRIPT MODE<\/strong><\/h3>\n<\/div>\n<div><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21718\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post.png\" alt=\"\" width=\"863\" height=\"731\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post.png 863w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post-300x254.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post-768x651.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2019\/03\/sim7500_http_post-600x508.png 600w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/a><\/div>\n<p>Try the script in&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a>&nbsp;tool.<\/p>\n<pre style=\"color: blue; background-color: white; border: 1px solid black;\">\/\/Script: simcom_http_get_53xx_7500x_7600x.at\n\/\/Use this script to test HTTP POST AT command with Simcom modules.\n\/\/This script can be used on following Simcom modules-\n\/\/SIM53XX, SIM7100X, SIM7500X, SIM7600X\n\n\/\/Launch the HTTP Operation\nAT+CHTTPACT=\"httpbin.org\",80\n\n\/\/Wait for the +CHTTPACT: REQUEST from the module\nWAIT=1\n\n\n\/\/Build a HTTP POST request\n\/\/ are script commands for carriage retun and line feed\n\/\/^z is a script command to send the CTRL+Z character\n\/\/The content length should match the post data\nPOST http:\/\/httpbin.org\/post HTTP\/1.1Host: httpbin.orgUser-Agent: AT Command TesterContent-Length: 23parm1=data1&amp;parm2=data2\n^z\n\n\n<\/pre>\n<p>Output of the script in the&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a>&nbsp;tool.<\/p>\n<pre style=\"color: blue; background-color: #ffffcc; border: 1px solid black;\">AT+CHTTPACT=\"httpbin.org\",80\n\n+CHTTPACT: REQUEST\nPOST http:\/\/httpbin.org\/post HTTP\/1.1\nHost: httpbin.org\nUser-Agent: AT Command Tester\nContent-Length: 23\n\nparm1=data1&amp;parm2=data2\n\n\nOK\n\n+CHTTPACT: DATA,520\nhttp\/1.1 200 ok\naccess-control-allow-credentials: true\naccess-control-allow-origin: *\ncontent-type: application\/json\ndate: fri, 22 mar 2019 04:59:33 gmt\nserver: nginx\ncontent-length: 300\nconnection: keep-alive\n\n{\n  \"args\": {}, \n  \"data\": \"parm1=data1&amp;parm2=data2\", \n  \"files\": {}, \n  \"form\": {}, \n  \"headers\": {\n    \"Content-Length\": \"23\", \n    \"Host\": \"httpbin.org\", \n    \"User-Agent\": \"AT Command Tester\"\n  }, \n  \"json\": null, \n  \"origin\": \"216.3.13.179, 216.3.13.179\", \n  \"url\": \"https:\/\/httpbin.org\/post\"\n}\n\n+CHTTPACT: 0\n\n\n<\/pre>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/_XFgffZjEKQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<div>&nbsp;<\/div>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/L3P8xwekwBE\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<div>&nbsp;<\/div>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/UgpY9i6MqrI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<div>&nbsp;<\/div>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/nWOLDtAE3RE\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Steps to test HTTP GET with SIM7500, SIM7600, SIM7100 and SIM53XX Modules Verify that the device is registered with the network provider Specify the host name with the AT+CHTTPACT command Once the device responds with&nbsp;+CHTTPACT: REQUEST, send the HTPP formatted &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/http-testing-with-simcom-sim7500-sim7600-sim7100-and-sim53xx-modules\/\">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":"software_howto.php","meta":{"footnotes":""},"class_list":["post-21709","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21709","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=21709"}],"version-history":[{"count":10,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21709\/revisions"}],"predecessor-version":[{"id":144014,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21709\/revisions\/144014"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=21709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}