REST api with a parameter of many special characters
0
Hello, I’m looking for a solution when I call rest API and I need to send a long parameter with special characters (e.g. address). The url will look like this for instance : https://myapi/api/register?address=123/4+TownA+DistrictB+12345 and thus, it will not work. How do I call my rest API in mendix without concatenating my URL like this ? Thank you :)
asked
Phutharin Jirakulprasert
1 answers
3
To add query parameters in the URL like this, ?query=search+for%2B
You can build the URL using the urlEncode-function: