NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: RichBowman on April 25, 2018, 09:31:46 AM
-
A vendor wants to "call" a web service with a JSON file as the parameter. I need to process and pass back a JSON file with different information.
The output I think I define as a queue and specify JSON as the return format. How do I handle the parameter input? I would like to drop it in a queue.
Thank you,
Rich Bowman
-
I presume you've not made an API before?
If not then watch clarionlive webinars #300, #302 and #304.
Seriously. It'll take a few hours and save you days of wandering in the dark.
>> A vendor wants to "call" a web service with a JSON file as the parameter. I need to process and pass back a JSON file with different information.
Really easy to do once you know how.
>> The output I think I define as a queue and specify JSON as the return format.
yep.
>> How do I handle the parameter input? I would like to drop it in a queue.
Then make a queue, and set it as the Parameter on the incoming tab. The incoming JSON will be parsed into the queue for you.
You just get the formats all right, see the auto-generated docs, and put your hand-code into the ServiceMethod routine.
If you ask at the webinar today John will show you! <g>
cheers
Bruce
-
I've watched 300 but will get to 302 and 304 shortly then I'll check one of the webinars.
Thank you,