Page 1 of 1

HTTPClient Raw Mode

Posted: Thu Apr 25, 2024 6:09 am
by Xylopyrographer
Is there a way when using the HTTPClient library to dump to the serial monitor the:
  • actual data sent to a host via a GET
    raw data received in response to a GET before it is handled by the HTTPClient library?
Setting the Core Debug Level to "Verbose" kind of does the second item but it is sent during processing by the handling routines.

If there isn't a library method, any insight on where the source code could be patched make this happen? Or any other thoughts on how to see the transactions?

Thanks.

Re: HTTPClient Raw Mode

Posted: Thu Apr 25, 2024 3:59 pm
by lbernstone
Add `log_v("Send Header: '%s'", header.c_str());` to sendHeader