Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hii,
I am trying to retrieve data from webservice using trestclient. I want to use contexts in parameters of component trestclient. I have tried all the ways. Please see the screenshots attached. Anyone have a good solution?
cowin API are restricted to be accessed only in INDIA
if you are in india you can use :
key:User-Agent Value:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.51
in the header
if context not working : you can try to affect context var to globalvar and then use globalvar in the trestclient
:
in a tjava
globaMap.put("district_id",context.District);
in the trestclient parameter value :
(String)globalMap.get("district_id")