Page 1 of 1

Consuming JSONp services.

Posted: Thu Oct 10, 2013 7:54 pm
by Michael Martinez

Here's a link to my service so you can see what I'm returning.

http://poboyfinderservice.azurewebsit...

What do I have to do to make this map correctly when it gets back to appery?

I have already set the data type to jsonp. Then I tried using a regular json result to create the response mapping, but that didn't work either. I saw on the forum that jsonp and json are handled the same way, but there's obviously more to it than that... so what am I missing?

I have shared the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a, the page I'm working with is JSON Test. Thanks in advance!


Consuming JSONp services.

Posted: Thu Oct 10, 2013 8:13 pm
by Michael Martinez

I figured it out. Was returning an object that was an array of json objects, rather than just an array of json objects. (extra curlies). Everything is mapping as I expect.


Consuming JSONp services.

Posted: Thu Oct 10, 2013 8:21 pm
by Kateryna Grynko

Hi Michael,

Thank you for the update!