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

Android Sign In and Registration API Basics.

Hi Guys I am having a problem in connecting to my API.The API was created in Python.Its being hosted on our local network.I have created my sign In and registration forms.I am unable to register.Are there any good crud tutorials on API, how best I could do it?Please help.

1 Answer

Anand Govindarajan
Anand Govindarajan
3,076 Points

Hi Nyasha,

Assuming that a RESTful API was created using python. We can use different network libraries to connect with the service. Example - OkHttp. You can probably use some online service like Mockable IO / GetSandbox to create Mock REST service and test your android code and then use the same code to connect to your Python REST service.