I'm trying to use the JsonAPI plugin in wordpress to bring in pieces of my site, like blog posts and so forth. Im not sure how the request/response works. I know my base url is http://dukeblogger.com/api/get_recent...
I'm trying to use the JsonAPI plugin in wordpress to bring in pieces of my site, like blog posts and so forth. Im not sure how the request/response works. I know my base url is http://dukeblogger.com/api/get_recent...
If you are new to Appery.io, please read the Getting Started section: http://docs.appery.io/getting-started and try some of the tutorials: http://docs.appery.io/tutorials. All tutorials cover how to work with REST services.
There is also documentation on using REST APIs: http://docs.appery.io/documentation/r...
Duke,
Did you get this to work?, I was also doing the same thing, i was using wordpress as my backend and pulling posts via jquery.
I didn't have any issues with the url you posted,
just create a service and use your posted url and then go to test and test it from test click create a response, then you can map items in your view to the response object it took me a few tries before i got it down
when i click test i get the data but test response i get an error:
Incorrect format. Please verify sample response data and try again.
Duke,
check your response json, I think there is an error in it, I ran in by jsonlit
http://pro.jsonlint.com/
just paste the url and hit the check button
and it returned an error "<!--PagenotcachedbyWPSuperCache.NoclosingHTMLtag.Checkyourtheme.--"
that is probably was causing the issue
you can try choosing a different theme and pulling the data again
I think i may have gotten it, it wasnt the theme but the wordpress cache plugin i was using. thank you so much for your help. nExt is mapping, wish me luck.
I thought i had it but it keeps returning nothing, perhaps a different error?
Everything in your graphics i got to work, when i mapped the fields is when nothing showed up, but when i enabled the echo it finally worked for me. Thank you again. Clearly i'm a novice..lol
it's all good, we are all an novice at some point. Glad you are making progress