Deploying a WebService as a GET Method
Hi,
I have created a web service for a process which gives prediction for the input using GET method.

I have added URL query parameter as well while deploying the webservice.

But when I am testing the webservice via POSTMAN I am not able to get the output .I am getting following error.
Where am I going wrong?I even tried by removing the macros from context panel but it didn't work.
I have created a web service for a process which gives prediction for the input using GET method.

I have added URL query parameter as well while deploying the webservice.

But when I am testing the webservice via POSTMAN I am not able to get the output .I am getting following error.
Where am I going wrong?I even tried by removing the macros from context panel but it didn't work.
Find more posts tagged with
Sort by:
1 - 4 of
41
Thanks @BalazsBarany for the screenshot mistake.
So what changes should I do to get the GET method working ?
So what changes should I do to get the GET method working ?
Hi @BalazsBarany
Thanks for the help I was able to get my GET method working.I had replaced Read Document and JSON to data operator with Create ExampleSet and had set its parameters with incoming attributes and there macro values .
Thanks,
Niharika
Thanks for the help I was able to get my GET method working.I had replaced Read Document and JSON to data operator with Create ExampleSet and had set its parameters with incoming attributes and there macro values .
Thanks,
Niharika
Your process is using two different types of inputs:
1. Process context macros (the GET parameters)
2. A process input (connected to Read Document)
This process expects you to provide a document (it can be HTTP POST or PUT) in the HTTP input. You are not providing that.
Also, you shouldn't post your Basic Authentication credentials to public forums ;-)
Regards,
Balázs