Title: Missing Query Data For POST Method Post by: Sean H. on March 10, 2023, 12:43:00 pm I'm hoping I'm just missing something small here but I have a very basic Web Service working like the below
Code
When I perform a GET Request I get the Query String Code
When I perform a Post Request (with the same arguments as the previous GET Request) I seem to be missing the Query String Code
How can I access the Query String for POST Requests? Title: Re: Missing Query Data For POST Method Post by: Sean H. on March 10, 2023, 12:47:24 pm Just noting that I am using Genero 3.10
Title: Re: Missing Query Data For POST Method Post by: Sean H. on March 10, 2023, 01:20:32 pm Just another update, I found another way to access the data using
Code
This looks perfect but it has the data in an encoded format Code
Is there a way to decode the format into the similar format as in the lo_service.getURLPath()? Decode service=testPost&args%5Bkey01%5D=val01&args%5Bkey02%5D=val02&args%5Bkey03%5D=val03 Into service=testGet&args[key01]=val01&args[key02]=val02&args[key03]=val03 Title: Re: Missing Query Data For POST Method Post by: Sean H. on March 10, 2023, 01:33:31 pm Yes there is a way, I found the util.Strings.urlDecode utility, this does exactly what I need, sorry everyone
|