Project

General

Profile

Actions

Defect #42096

open

ÅÄÖåäö in API body don't work

Added by Jimmy Westberg about 1 month ago. Updated 9 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

As stated, it's okay if I need to make them URI encoded but the error message isn't very informative about the error, only giving me a 400

Actions #1

Updated by Holger Just 9 days ago

The API generally expects correctly encoded data depending on the format in which you send the data:

  • text/xml or application/xml - You can specify the encoding in the XML document if required. The default is UTF-8.
  • application/json - JSON documents MUST always be UTF-8 encoded
  • application/x-www-form-urlencoded - We generally expect UTF-8 encoded data here.
Actions #2

Updated by Jimmy Westberg 9 days ago

Aha that's good to know. But the issue is more about the API not giving any information about this isn't very clear when reading the error code.

Actions

Also available in: Atom PDF