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
Matthew Ong
6,041 PointsHow to send data to a web server from Android
In the blog reader app tutorial, we learn how to get data in the form of a JSON from a website. Can anyone link me to a resource or tell me how an app can send data to a webserver? I'm trying to make a simple chat app using the things I have learned from this android tutorial.
1 Answer
Eduardo Velasquez
15,697 PointsHi, I haven't taken the course for Android but in the iOS course we created a Parse.com account for the app and 'sent' data to Parse.com using the Parse API. Depending on the web server you want to send data to, you would need to research how to link your app to that web server, then research the API documentation for the format of the data you will submit.