Is there any way to get a more helpful error message from the Ktor Client (using Gson as the JSON serializer)? End up with this confusing error: Fail to run receive pipeline 😕
napperley
02/08/2019, 12:35 AM
The server returns the following response body (application/json) when using Postman:
Copy code
[
"Joe Bloggs",
"Jane Doe"
]
napperley
02/08/2019, 12:37 AM
Would the missing curly braces cause the Ktor Client to throw a exception?
napperley
02/08/2019, 12:54 AM
Is there a option to turn off strict checking of JSON responses with the Ktor Client?
napperley
02/08/2019, 1:08 AM
Turns out I used the wrong HTTP method (used a POST instead of a GET).