client
client copied to clipboard
LogInterceptor
Would be nice to have by default a logInterceptor that we can add if you want.
We can put log level on it like BASIC / FULL.
BASIC will print: starting POST https://myurl
result POST https://myurl status 201
FULL will print:
starting POST https://myurl with data {all the data pretty printed json/form...}
result POST https://myurl status 201 with data {all the data pretty printed json/form...}
it will help a lot during debug