httpd_resp_send_chunk() to send JSON data issue (IDFGH-14548) #15309
Labels
Awaiting Response
awaiting a response from the author
Resolution: Won't Do
This will not be worked on
Status: Done
Issue is done internally
I have a HTTP server running on an ESP32-S3 device. I can receive the POST requests via CURL fine, but I am having issues sending back a JSON response string as below. test_json_data. CURL just sits there blocked and nothing gets received. What exactly am I doing wrong here ? Thanks. This is the curl command from the client :
curl -X POST --data "volume_up" edge-server.local:83/sendCommand -v
It causes the below
my_post_handler
function to get invoked, but problems getting simple JSON data back to the client.The text was updated successfully, but these errors were encountered: