Discourse Meta
JSON vs URL Encoded API Calls - JSON returns BAD CSRF
Contribute
Feature
Mittineague
(Mittineague)
November 22, 2014, 8:15am
3
Forms send inputs as Strings, but shouldn’t “category” be an Int?
show post in topic
Related topics
Topic
Replies
Views
Activity
Improve BAD CSRF error message when making API calls with content-type application/json
Development
4
4455
September 14, 2020
Adding user to group from API gets "BAD CSRF"
Development
rest-api
4
2687
July 19, 2017
What's the correct `content-type` when editing posts?
Development
rest-api
9
1358
August 10, 2021
Anomalous API results
Product Support
11
1213
June 25, 2020
Creating a topic via the API using Node.js
Development
12
2509
March 30, 2020