Rommel Paras
Posts: 0
Joined: Fri Jun 14, 2013 2:58 am

Mapping jsonp results

I created 2 versions of a project, both of which access an external domain.

One uses json requests and works fine on the desktop (Chrome, FF). I created another one which uses JSONP since it doesn't work on the iPhone/iPad even though I've added the code header('Access-Control-Allow-Origin: *');

Since jsonp is not plain json, how do I handle the output when it comes to mapping the results of a JSONP request?

Json: http://appery.io/app/view/7946b4f7-15...

Jsonp: http://appery.io/app/view/b7685864-bd...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Mapping jsonp results

The mapping portion is handled the same way whether it's json or jsonp.

Return to “Issues”