I'm making a request using the Laravel Http Client, and I want to know the exact headers that will be sent (or were sent) in the request. I'm not trying to set them. I want to read them.
Does anybody know how I can do this?
I'm making a request using the Laravel Http Client, and I want to know the exact headers that will be sent (or were sent) in the request. I'm not trying to set them. I want to read them.
Does anybody know how I can do this?
Copyright © 2021 Jogjafile Inc.
You should enable debug output, like so :
check document
https://docs.guzzlephp.org/en/stable/request-options.html#debug