Open margaretha opened 3 weeks ago
Can you describe how you send the request? POST request is deprecated, I hope Kalamar does use it. It should use GET request instead. See https://github.com/KorAP/Kustvakt/wiki/Service:-OAuth2-Authorization-Code
Maybe the warning comes from using
-H 'Content-Type: application/x-www-form-urlencoded'
The example in the wiki included it and it is outdated. I have updated it.
Well, the POST request is only marked as deprecated in the code, it is still supported, but it should be removed in API v1.1. See https://github.com/KorAP/Kustvakt/issues/767
You were right
-H 'Content-Type: application/x-www-form-urlencoded'
was the culprit. I removed it from the request and the warning disappeared.
@hebasta Helge said in Gerrit https://korap.ids-mannheim.de/gerrit/c/KorAP/Kustvakt/+/8687