ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Json passing

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Json passing

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?

ishani modi
Posts: 0
Joined: Wed Oct 23, 2013 4:49 am

Json passing

Thanks, Katya its working now.

Return to “Issues”