UTF-8 in HTTP Communicate processor

Questions and answers on how to get the most out of FFAStrans
Post Reply
Innermars
Posts: 2
Joined: Thu Mar 30, 2017 1:38 pm

UTF-8 in HTTP Communicate processor

Post 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?
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: UTF-8 in HTTP Communicate processor

Post by admin »

Hi Innemars, thank you for using FFAStrans and welcome to the forum! :-)

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

-steinar
Innermars
Posts: 2
Joined: Thu Mar 30, 2017 1:38 pm

Re: UTF-8 in HTTP Communicate processor

Post by Innermars »

It worked! Thank you very much!
Post Reply