Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am using Get method .Response type json. I want to pass parameters in the rest service.
when I pass parameter in the query parameters in the rest connection page , I am not getting result.
I think query parameters in the rest connectors are for passing url parameter or Is there any way to pass parameter. Please reply anyone
You are correct about query parameters.
Along with query parameters, you will also have to pass query headers.
I passed Name and value in query parameters . But its not working .
I passed Id as name and 1 as value . But data is not filtered based on this parameter. Its a get method.
But when i pass parameter with url . its working.
Given below url : http://10.181.120.21/restservice/ProductRESTService.svc/GetProductListByproductId/1
In the end of the url there is value 1. But when i pass value in query parametrs or query headers , data not filtering
based on the value. Please show me how to do this
Check Call a web service via SOAP, HTTP Get or HTTP Post if you get anything helpful
Thanks for your reply. Now i am getting correct result. But I hard coded value in the query parameters.
Now i set a variable 'Product' instead of hardcoded value and place that variable in the place of value text box in the query parametrs. But when click select data icon , getting @value . NO data is coming .Do u have any solutions
For dynamic thing,
You will have to override you body by using With Connection ()
REST CONNECTOR, Override request body
It worked for me with SOAP POST Web service
Thanks for your reply. Let me check and let u know