igate

how to add special character in REST api call

Discussion created by igate on Oct 16, 2013

Hi all,

 

I am unable to prepare rest api url to get the Result of CPU_USAGE qos. urls are given below.


http://xx.xx.xx.161/rest/qos/data/name/QOS_CPU_USAGE/192.168.3.23/CPU Used (Average/Rate)/lastmonth/now/0

http://xx.xx.xx.161/rest/qos/data/name/QOS_CPU_USAGE/192.168.3.23/CPU Used (% of available)/lastmonth/now/0

 

I have used encoding format

%20 - space

%25 - %

%2F - /

but this encoding also didn't work.

 

if anyone have idea, how to deal with special character in REST api call, let us know.

 

 

thank you.

Outcomes