I'm now trying to get the XMLHttpRequest response. I'm getting error in webconsole...:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
I tried to send back:
***
AT+CIPSEND=0,100
>
HTTP/1.1 200 OK\r\n\r\nOrigin: test\r\nAccess-Control-Allow-Origin: *\r\n\r\nContent-Type: text/html\r\n\r\nHello world!\r\n\r\n
AT+CIPCLOSE=0\
***