Open zevaryx opened 2 years ago
I looked into the documentation of the requests.post
method and it seems like the data
parameter is being form encoded which is not supported by pasty (however, it shouldn't return a 500, this seems like an issue on my side that I have to fix). Please try to use the json
parameter instead.
Yep, doing requests.post("...", json=...)
solved it. Thanks for the quick feedback! I'll leave this open since there's some work needed with it
Making a request to
/api/v2/pastes
fails withinvalid character 'x' looking for beginning of value
.Code to reproduce: