Michael Martinez
Posts: 0
Joined: Fri Aug 30, 2013 7:00 pm

Consuming JSONp services.

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!

Michael Martinez
Posts: 0
Joined: Fri Aug 30, 2013 7:00 pm

Consuming JSONp services.

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.

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

Consuming JSONp services.

Hi Michael,

Thank you for the update!

Return to “Issues”