Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Get Wordpress post in Android Apps with OkHttp. ¿Its possible?

Hi. I 'm learning with Android Course and i have this question. I want to make a blog reader app. Can i use OkHttp like "Build a Weather App? I want get all post in my blog. For this i am using WP REST API plugin.... Sorry foy my english but i am from Argentina!

1 Answer

aakarshrestha
aakarshrestha
6,509 Points

If you have the webservice ready and have the data available either in json or xml, you should be able to use okhttp for restful call.

Happy coding!

Hey! Thanks! Yes. I have this plugin called WP REST API. Thank You.