Open ritzelpaket opened 6 years ago
curl -i -X POST --header "Accept-Encoding: gzip, deflate" --header "Accept': */*" --header "User-Agent: python-requests/2.18.1" --header "Connection: keep-alive" --header "Content-Type: application/x-www-form-urlencoded" -d '{"courses": ['4IK501']}' https://api.kodkollektivet.se/api/event/
comes close to the request from the python examples.
Is this a big issue to fix? Can I help?
I think this commit will resolve the issue: https://github.com/Kodkollektivet/unitime-api/commit/623462bd56812c3f1fb497af40bc4a1ab0f1a4c5
curl -i -X POST --header "Connection: keep-alive" --header "Content-Type: application/json" -d '{"courses": ["2DV513"]}' https://api.kodkollektivet.se/api/event/
@ritzelpaket the new commit is in production and seems to resolve the issue
curl -i -X POST -d '{"courses": ['4IK501']}' https://api.kodkollektivet.se/api/event/
fails with: