Page 1 of 1

UTF-8 in HTTP Communicate processor

Posted: Thu Mar 30, 2017 1:53 pm
by Innermars
Hello.

When trying to send an HTTP request, the monitor gives an error message: {"ok":false,"error_code":400, "description":"Bad Request: message text must be encoded in UTF-8"}.

Settings:
Action: POST;
Content-Type: application / json

Apparently, this works well only in case of using non-cyrillic symbols in the message body.

Are there ways to send messages in this encoding? Or is my mistake in something else?

Re: UTF-8 in HTTP Communicate processor

Posted: Thu Mar 30, 2017 4:25 pm
by admin
Hi Innemars, thank you for using FFAStrans and welcome to the forum! :-)

Try this content type: application/json;charset=utf-8

-steinar

Re: UTF-8 in HTTP Communicate processor

Posted: Tue Apr 04, 2017 2:03 pm
by Innermars
It worked! Thank you very much!