appsmithorg / appsmithorg/appsmith

[Feature]-[3200]:Setting for different character encodings in API calls

Open
#2,563 4 comments 1 reaction 0 assignees View on GitHub
Backend Enhancement High Integrations Product Query & JS Pod Query Widgets & IDE Pod REST API plugin
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## Summary

Give the possibility to successfully use APIs that return bodies in other formats than the default UTF-8.

## Motivation

An API might for instance return a XML body, encoded in ISO-8859-1 format. Special characters (like the swedish åäö) wont be interpreted correctly and the API response is not useable.

If there were an option for this in the APIs config the user could set the character encoding to be used when interpreting the response.

## Additional Context

### Example API response with other encoding than UTF-8

```
HTTP/1.1 200
Transfer-Encoding: chunked
Access-Control-Allow-Origin: *
Content-Type: text/xml; charset=windows-1252
Date: Wed, 13 Jan 2021 13:00:03 GMT
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.