A simple project to demonstrate retrofit library.
in MainActivity.java there are three methods.
@Get getPosts(); getComments();
@POST createPost();
Dummy API: https://jsonplaceholder.typicode.com
A simple project to demonstrate retrofit library.
in MainActivity.java there are three methods.
@Get getPosts(); getComments();
@POST createPost();
Dummy API: https://jsonplaceholder.typicode.com