Arduino SIM5320e HTTP GET request to 000webhost.com Im having trouble getting a successful HTTP GET request to a domain under 000webhost.com 

I am trying to do a GET request which sends data to a php file on my domain and save it to MySQL database. I also did this first on my browser and it works fine so I don't think there are problem in my php file.

MY DOMAIN: wastedb.000webhostapp.com

But if I try to send a request to dweet.io, it works as expected. 

I am using a modified version of Adafruit_FONA library and will post the code snippet and response from serial monitor below.

Here are the parameters that I used for the WORKING GET request:

Host Address: www.dweet.io

Host: dweet.io

Response from Serial monitor for dweet.io (working):

---&gt; AT+CHTTPSSTART
&lt;--- OK
---&gt; AT+CHTTPSOPSE="www.dweet.io",80,1
&lt;--- OK
---&gt; AT+CHTTPSSEND=64
&lt;--- &gt;
---&gt; GET /dweet/for/gearhead?hello=world HTTP/1.1
Host: dweet.io


&lt;--- OK
---&gt; AT+CHTTPSSEND
&lt;--- OK
&lt;--- +CHTTPSSEND: 0
---&gt; AT+CHTTPSRECV?
&lt;--- +CHTTPSRECV: LEN,361
---&gt; AT+CHTTPSRECV=361
&lt;--- OK
+CHTTPSRECV: DATA,361
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Date: Wed, 30 Jan 2019 00:16:43 GMT
Connection: keep-alive
Content-Length: 196

{"this":"succeeded","by":"dweeting","the":"dweet","with":{"thing
---&gt; AT+CHTTPSCLSE
&lt;--- OK
---&gt; AT+CHTTPSSTOP
&lt;--- OK


As we can see, the Arduino received a JSON response from the website.

Here are the parameters that I used for the NOT WORKING GET request:

Host Address: wastedb.000webhostapp.com

Host: wastedb.000webhostapp.com

Response from Serial monitor for wastedb.000webhostapp.com (NOT WORKING):

---&gt; AT+CHTTPSSTART
&lt;--- OK
---&gt; AT+CHTTPSOPSE="wastedb.000webhostapp.com",80,1
&lt;--- OK
---&gt; AT+CHTTPSSEND=113
&lt;--- &gt;
---&gt; GET /wastedb/get_location.php?lat=14.640155&amp;lon=120.974920&amp;stat=LOW HTTP/1.1
Host: wastedb.000webhostapp.com


&lt;--- OK
---&gt; AT+CHTTPSSEND
&lt;--- ERROR


Am I missing something here? Seems like the shield cannot find the Host Server I provided for my website.

EDIT: It is working now. The only solution that worked for me is to find another hosting site.
Try just using IP address for the Host line instead. I did the same thing for POST and it works fine for me.

Example:

Host: 13.xxx.xx.xx