Rest Encode problem

Hi there,

I trying to consume a REST web service but when i put the parameters, the outsystems send a ISO 5581. My client can just receive UTF-8. How can i solve this problem?

Ps.:I already used the UrlEncode but it didn't work



Thnks.

Solution

Hi Henrique,


You have this component in the Forge that I think that can help you: https://www.outsystems.com/forge/component-overview/3278/rest-extender


This module have this:


Hope this can help.


Best regards,

Ricardo

Solution

That component is imho huge overkill in this situation. Let's start with the beginning: @Henrique, why do you think OS sends anything but UTF-8? Because I think that's just not true, I've never seen it. In fact, checking my logging, this is what I see what is sent on a POST:

Content-Type: application/json; charset=UTF-8

Can you confirm that OutSystems sends a different charset?