Page 1 of 1

Json passing

Posted: Mon Feb 03, 2014 2:19 pm
by ishani modi

Hi,

i am facing the problem in passing json , to call the service, the parameter in my service becomes null.
Img 1 : I have passed this as a default value in ListStrAttendees Image
Img 2 : to test the Url and Json pass it works fine when in test it, so is there any way other to pass the json
Image

so my question is why this service gives successfull call while testing and not while passing it on button click

Thanks,
Ishani


Json passing

Posted: Mon Feb 03, 2014 2:45 pm
by Kateryna Grynko

Hi Ishani,

Please set request parameter type = Object.

In dev tools Network tab check what data is sent to server. Why do you think they are not passed?


Json passing

Posted: Mon Feb 03, 2014 2:52 pm
by ishani modi

Thanks, Katya its working now.