[Solved]unsuccessful GET request

i am trying to send a GET request to a php file uploaded on web by esp8266 but i want do it directly by serial monitor.every thing is right and the Get request sends correctly but the php file do not execute.

when i try to call the php file in browser and run http://readsensor.epizy.com/esp_post.php?temperature=11&humidity=11 it executes and data changes correctly on web.

here is my serial monitor

AT+CIPSTART="TCP","readsensor.epizy.com",80

CONNECT

OK
AT+CIPSEND=85


OK
> 
Recv 85 bytes

SEND OK

+IPD,1099:HTTP/1.1 200 OK
Server: nginx
Date: Sun, 15 Jul 2018 12:59:01 GMT
Content-Type: text/html
Content-Length: 870
Connection: keep-alive
Vary: Accept-Encoding
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-cache

<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("248813c2e30a32e656e03e29a770b794");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://readsensor.epizy.com/esp_post.php?temperature=40&humidity=40&i=1";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>CLOSED

because of this part of response "This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support" i checked my webbrowser to enable script and even changed it but still i facing this error.

i searched whole the web but did not get anything.please help if you now whats wrong

you should put in the topic title "esp8266 AT"

javascript runs on the client (e.g. your browser) so when you send this request from the ESP, the server expects the ESP to run the javascript, which it can't so you get an error.

blh64:
javascript runs on the client (e.g. your browser) so when you send this request from the ESP, the server expects the ESP to run the javascript, which it can't so you get an error.

thank you but why esp cannot run javascript?
is this dissolvable?what should I do?

mhmdmhr:
thank you but why esp cannot run javascript?

Because your ESP is not the same thing as a full blown computer. It's like asking why your ESP chip can't run Windows

blh64:
Because your ESP is not the same thing as a full blown computer. It's like asking why your ESP chip can't run Windows

it is true but other guys run this project by esp at the same way without any problem

You don't need JavaScript. You can probably use the API directly. If the service you're trying to use doesn't have a minimal API like that, use a different service.

Also, AT commands are a terrible way to send HTTP requests. I'd recommend programming the ESP directly.
A Beginner's Guide to the ESP8266

Pieter

PieterP:
You don't need JavaScript. You can probably use the API directly. If the service you're trying to use doesn't have a minimal API like that, use a different service.

Also, AT commands are a terrible way to send HTTP requests. I'd recommend programming the ESP directly.
A Beginner's Guide to the ESP8266

Pieter

pieter I have to get correct response from this method and find the problem then I promise to change the way

I changed the server from nginx host to an apache host and give 777 permission to php file then solved