Forum Discussion
Daniel_Ma_23954
May 04, 2016Nimbostratus
Here's an update:
The Send String I end up using seems to be working:
GET /health.php HTTP/1.1\r\nHost: www.abc.com
I'm just having issues with the Receive String, seeing errors in the log about "Response did not match recev regex yet"
The Receive String that I have now, is a simple, HTTP1.1/ 200 OK string.
But, the output of health.php has more information than that.
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 04 May 2016 03:00:20
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
Is there a way that I can match the response or just the first line of the response?