Pages

Tuesday, June 14, 2022

characters use to replace in REST API query

 If you have Special characters(like $Filter=Title eq Vikram's & Pvt. LTD) exist in query then how can i replace special characters in REST API call.


The special characters should be encode to UTF-8 format. Please find the below table to replace the special character.

CharacterEncode (UTF-8)
space%20
!%21
"%22
#%23
$%24
%%25
&%26
'%27
(%28
)%29
*%2A
+%2B
,%2C
-%2D
.%2E
/%2F

For more Reference: http://www.w3schools.com/tags/ref_urlencode.asp