Closed kopax closed 3 years ago
You can achieve this by using the resolveWithFullResponse
parameter. Here is a code example.
Thanks ! But does the full response appear in the error
? Anyway, I solved my issue.
Yes, the returned errors always contain err.response
that includes the headers. Don’t mind the resolveWithFullResponse
then. You don’t need it just for the error case.
I am doing a post request, when it fail, I can not see the headers sent, is there a way to see what where the headers sent?
Thanks for reading.