A GET method fetches the given resource from the server. To specify a resource, GET uses a few types of URI queries:
- Query parameters
- Path-based parameters
In case you didn't know, most of your browsing of the web is done by performing a GET request to the server. For example, if you type www.google.com, you are actually making a GET request to fetch the search page. Here, your browser is the client and Google's web server is the backend implementer of web services. A successful GET operation returns a 200 status code.