In this project we will learn how to do GET,POST,DELETE,PUT request through retrofit in android , here we will a rest api to perform all these operations... ;)
Url = const val BASE_URL = "https://phone-api-8826.herokuapp.com/v1"
- GET Request == /phone
- POST Request == /phone == { "name" : "something" , "phoneNo" : "8338738223" } == Form Data
- DELETE Request == phone/{userId}
- UPDATE Request == phone/{userId} == { "name" : "jdjs","phoneNo" : "9843932456"} == Form Data ..:) .. ... ...... ...