We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All use of the perma.cc handler via Python fails with errors of the following form:
['Error (The Perma.cc Archive): 415 Client Error: Unsupported Media Type for url: https://api.perma.cc/v1/archives/?api_key=asdfasdfasdfadf']
It looks like Perma.cc requires explicitly setting Content-Type to application/json, as per: https://perma.cc/docs/developer#create-an-archive
Content-Type
application/json
The text was updated successfully, but these errors were encountered:
It used to work before without explicitly setting the Content-Type. I added it and the perma.cc handler should work now. Thanks.
Sorry, something went wrong.
No branches or pull requests
All use of the perma.cc handler via Python fails with errors of the following form:
It looks like Perma.cc requires explicitly setting
Content-Type
toapplication/json
, as per: https://perma.cc/docs/developer#create-an-archiveThe text was updated successfully, but these errors were encountered: