Project

General

Profile

Actions

Defect #42096

open

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

Defect #42096: ÅÄÖåäö in API body don't work

Added by Jimmy Westberg almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
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

Updated by Holger Just almost 2 years ago Actions #1

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.

Updated by Jimmy Westberg almost 2 years ago Actions #2

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: PDF Atom