Forum Discussion
How to use apostrophe (') in REST API url for weird email address!
- 4 years ago
Hi.
Can you try to replace the apostrophe with %27
That should be the url encoding for '
https://api.powerbi.com/v1.0/myorg/admin/groups/%7BgroupId%7D/users/ab.c%[email protected]
Br
Marius
Hi.
Can you try to replace the apostrophe with %27
That should be the url encoding for '
https://api.powerbi.com/v1.0/myorg/admin/groups/%7BgroupId%7D/users/ab.c%[email protected]
Br
Marius
- mariussve14 years agoSolution Sage
If that does not work, maybe you can try %60
That is the escape code for '
- mariussve14 years agoSolution Sage
Hehe.. I also se you might have to use $60 because that is the escape for the string '
Just trying to give you some options, so Sorry for all the answers. Would be great if you reply if any of the suggestions works.
Marius
- k3rz0rg3 years agoAdvocate III
mariussve1 😅 Thank you for the suggestions and %27 worked for me 😄
I also found a HTML reference site listing all these weird characters hope someone might find useful through this thread later!
https://www.w3schools.com/tags/ref_urlencode.ASP
-K3