Charset is not correct in the api call

Wappler 3.3.5
Windows pro
Server PHP

image

API call

Wappler call

I live in Brazil and here we need UTF-8 for API calls
@patrick

Is the page where you are using the server connect using the UTF8 charset? Also check the Headers of the xhr call to see if it is UTF8.

yes https://viacep.com.br/ws/01001000/json/

You did not answer the questions:

And

The link you provided is not answering this.

I don’t know how to answer these questions Teodor

When I call by appCoonect it works correctly

Well just answer to what Patrick asked ...

Check your page charset ...

Check the headers in XHR tab of your browser...

I really don't know how can these questions be asked to be clearer?

Please test following update:

api.zip (3.3 KB)

Place the file in dmxConnectLib/modules.

1 Like

yes yes it works @patrick