HTTPClient Raw Mode

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

HTTPClient Raw Mode

Postby Xylopyrographer » Thu Apr 25, 2024 6:09 am

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.

lbernstone
Posts: 797
Joined: Mon Jul 22, 2019 3:20 pm

Re: HTTPClient Raw Mode

Postby lbernstone » Thu Apr 25, 2024 3:59 pm

Add `log_v("Send Header: '%s'", header.c_str());` to sendHeader

Who is online

Users browsing this forum: No registered users and 20 guests