I am sending data using the HTTP POST verb . But I am not receiving the data server side, despite the client reporting status-code 200. I can see the connection, and that the data was successfully sent, however, on the server, the data isn’t found, with the log showing only the number of bytes.
How can I log the raw POST data that was sent to the server?
FYI, here the client is an embedded device with very limited capability, so this is a problem. I can not check print_r or echo.
You can see the content of any data sent with the post verb (not for production) with:
If you want to see data from the verbs get, post, cookie:
If you need to log, since the client is very limited – try outputting the post data to a file: