Sebastian Kazenbroot-Guppy09/08/2020, 10:25 PM
. This endpoint returns application/json. When visiting this endpoint in Chrome, I see
(you likely do too). However, when I CURL the endpoint, or use the API Gateway test UI, it returns an array of five JSON entities like it's supposed to. Has anyone else encountered HTTP 406 issues with a Ktor Kotless app?
HTTP ERROR 406
dector09/10/2020, 9:43 AM
. However, browsers use more complex headers (e.g. my Firefox sends
but in complex expression). My guess is that Kotless don't know to process complex
header yet. But if you will use
in your client - it'll work well.
(with the latest you will need browser extension to overcome CORS issue - https://github.com/hoppscotch/hoppscotch-extension)
TanVD09/10/2020, 1:23 PM
Sebastian Kazenbroot-Guppy09/15/2020, 8:37 PM