Closed lavigne958 closed 1 week ago
Manually build an invalid JSON body. Using HTML to fake using the wrong endpoint that returns HTML instead of JSON.
Use that new http client to do some request and make sure the error matches.
looks splendid ! :)
Manually build an invalid JSON body. Using HTML to fake using the wrong endpoint that returns HTML instead of JSON.
Use that new http client to do some request and make sure the error matches.