400 bad request from server API
Bug #1812781 reported by
Justin Marshall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to POST to the /cdb/set-fields/ endpoint, I am getting a 400 response.
curl -v \
-X POST \
--digest -u "user:password" \
-H "User-Agent: Unknown/Unknown (Unknown; build:Unknown; iOS 12.1.0) Alamofire/4.8.1" \
-H "Accept-Language: en;q=1.0" \
-H "Content-Type: application/json" \
-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
-d "{"title":"'Salem's LotAPPTEST"}" \
"http://
Is my JSON body incorrect? I really wish this API were documented...
To post a comment you must log in.
Look at the body of the 400 response, that will tell you what the problem
is.
status invalid