REST(Representational state transfer) is the model of the Web. A browser makes a request to a URL and we get back a response. That request can be anything from GET, POST, PUT, DELETE and the response can be anything like HTML, image, PDF, XML.
It's just not only a browser but could be anything which can make request and process the response.
My requirement is to pass parameters to the REST API. The REST API will process and give me a response.
Hope this helps.