Skip to content

Post api call returning "This joke was formatted incorrectly." respons #258

Answered by Sv443
vuk12 asked this question in Q&A
Discussion options

You must be logged in to vote

You are sending the data encoded as form-data, which is not supported by the API. Please choose raw, select json in the dropdown that appears to the right and follow the format of the example payload shown in the submit endpoint section of the docs.
Also please do me a favor and add the dry-run parameter to the URL so you don't spam the joke submissions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vuk12
Comment options

Answer selected by Sv443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants