I got updated over night, and the http/POST scripts won’t run anymore.
Port 8060 is still open
I get a 404 bad request.
semi cleaned up:
echo -e 'POST /keypress/Enter HTTP/1.1
' | nc " 192.168.1.199 " 8060 HTTP/1.1 200 OK Content-Length: 0" as string
RokuKC
2
I suspect the server is requiring CR-LF line endings now, instead of accepting LF-only line endings.
You might try using \r\n\r\n at the end instead of using an embedded newline constant.
RokuKC
3
Yes, that appears to be the problem.
This should work:
printf “POST /keypress/Enter HTTP/1.1\r\n\r\n”’ | nc " 192.168.1.199 " 8060
Thanks!
Skinned the cat a different wat.
Used the curl method. Alls working again.