Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I was using tRest which worked fine but now we have to use authentication and tRest doesn't have that functionality. So i need to extract device id from a table, add it at the end of the url in order to extract data.
I am struggling with how to add the id to the url
And with how to set up the schema
Finally managed to get it right
your devid is of type "int" in tMap and you are using it as "String" in URL.
write like this
"/device/" + (Integer)globalMap.get("out1.devid")
I have updated , but it still gives me an error. How should i setup the input and output schema of the trestClient. Since there is the devID field input plus the default tRestClient
Finally managed to get it right