HTTP parameters not being included

Topics: Bug / Problems
May 17, 2016 at 8:52 AM
When using the JSON source component I find the HTTP Parameters are not working.

In my scenario I am getting data from a service which is not publicly available (not very helpful I know, sorry) to check whether a user exists.
I am using a variable for the 'mode' which is my url (https://myurl.com/SomeStuff/GetUser), and for the parameters, a single parameter UserID - variable binding:variable - value: User::UserID

I'm using GET so I'd expect the actual request to be https://myurl.com/SomeStuff/GetUser?UserID=myvalue

But the parameters (one in my case) aren't included. If I use fiddler to see the actual request, it is to https://myurl.com/SomeStuff/GetUser only, with no parameters.

If I build a url that includes the ?UserID=myvalue, as I'd expect the actual request above to be, then it works as expected. I have had no problems with urls that don't require parameters. In this case I have a workaround, in that I can build the parameters & values into the url variable - but it just doesn't seem to be working as intended.

I have a another question/issue which is related but seperate so I will raise seperately.

Thanks
Wally
Coordinator
May 17, 2016 at 9:27 AM
Hi,
I've just fixed an issue that might be related to your problem a couple of minutes ago. Please download the component again, reinstall it and test if it is now working as expected.

Let me know,

Alberto.
May 17, 2016 at 9:35 PM
Hi

Thanks for the quick response. I've just downloaded and installed the latest version, but unfortunately it doesn't seem to have made any difference.

Cheers
Wally
Coordinator
May 18, 2016 at 8:42 AM
Hi,

thank you for your patience and report. I finally found the problem, a null being passed instead of the parameter set (honestly I don't know why I did that back in the time). Sometimes copy-paste is just a trap.

Anyways, the new version should solve your problem. Please try it and let me know if that is working. In my test environment it is (look at the screenshot below).

Image

Cheers,
Alberto.
Marked as answer by webking on 5/19/2016 at 1:11 AM
May 19, 2016 at 4:37 AM
Hi.

I've just downloaded your latest version and yes, it is working fine.

Thanks very much.
Wally
Coordinator
May 19, 2016 at 8:12 AM
Alright then!

Don't forget to rate the component once you've got an idea on how does it work. It is important for me to get some feedback from the community in order to take good decision for the future.

Regards,

Alberto.