How do I pass a parameter into a jsmproxy RESTful web service via the URL?
Posted: Mon Jan 21, 2019 11:31 pm
Hi Lansa Forum
Sorry; another question about Lansa Integrator RESTful web services.
I have written an RDMLX function that uses Lansa Integrator to process some data sent to us from a business partner in JSON format via a RESTful web service. They can use a URL in the format:-
However, I also need to receive an authentication token from the customer in the URL query string so I can validate the URL is from a valid customer.
I have tried a few examples such as:-
But I get a response from jsmproxy:-
What is the correct URL syntax to pass parameters to a jsmproxy service?
Also; what Lansa Integrator command do I use to retrieve the parameters from the URL?
Thanks in advance
Colin
Sorry; another question about Lansa Integrator RESTful web services.
I have written an RDMLX function that uses Lansa Integrator to process some data sent to us from a business partner in JSON format via a RESTful web service. They can use a URL in the format:-
Code: Select all
https://MYSERVER.com/cgi-bin/jsmproxy.exe?MYFUNCTIONI have tried a few examples such as:-
Code: Select all
https://MYSERVER.com/cgi-bin/jsmproxy.exe?MYFUNCTION&auth=123
https://MYSERVER.com/cgi-bin/jsmproxy.exe?MYFUNCTION+auth=123Code: Select all
Version: 13.2.0
Usage: /cgi-bin/jsmproxy.exe?service+...
JSMProxy (c) the LANSA Group. All rights reservedAlso; what Lansa Integrator command do I use to retrieve the parameters from the URL?
Thanks in advance
Colin