[refactor] Improve curl response mesage
devkapilbansal opened this issue · 0 comments
devkapilbansal commented
This change was originally requested here:
#42 (review)
Logged response can be improved
Here's an example output: Data not sent successfully. Response code is {"detail":"Authentication credentials were not provided."}403.. The message is readable but it's weird. The response body is {"detail":"Authentication credentials were not provided."} while the response status code is 403. Can you turn this into something like:
The response received was: 403 {"detail":"Authentication credentials were not provided."}?