Join Slack
Communities
Powered by
I'm making a post request to an endpoint, but I ke...
# ktor
o
Odinakachukwu Omaka-chukwu
06/27/2024, 4:16 PM
I'm making a post request to an endpoint, but I keep getting 307 status code, Temporary Redirect. The endpoint works using postman, but not with Ktor. I've tried using both CIO and OkHttp. Any ideas what the issue could be?
m
marlonlom
06/27/2024, 4:18 PM
related issue ?
https://github.com/ktorio/ktor/issues/1623
e
e5l
06/27/2024, 4:21 PM
You can use configuration property to allow this:
https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins/-http-redirect-config/check-http-method.html
It may lead to the security issue still
4
Views
Open in Slack
Previous
Next