This is the interface with which we will work a lot throughout this course, and which allows you to send requests to RESTful APIs, It looks a bit like a browser with different tabs here, and this bar to enter a URL. Notice that you have a drop-down on the left of the top bar, which allows you to specify
different types of HTTP requests you want to send, and this will become important throughout this article where we will not only send Get request but also Post, Put, Patch, and much more.
Lets take an Example to understand better.
I’m taking example of google map API where i’ll make a GET Request to get data from Google Map. Lets Open our Postman and follow the below steps :-
Fill the API link to get data. Basic URL is given below :-
1. GET Method
Set the method as GET and fill the URL and click on Send.
2. POST Method
Set the method as POST, fill the URL, in Params fill the Key and Key_Value as your table in database, i have Name, Price , and Stock to fill in database so I’ve filled all and click on Send. See the Below ScreenShot to Understand better.
- [SOLVED] Flutter : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) - December 7, 2021
- [Solved] Flutter : Error: The getter ‘subhead’ isn’t defined for the class ‘TextTheme’ from package:flutter/src/material/text_theme.dart’ – searchable_dropdown - December 6, 2021
- [SOLVED] Flutter Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’ – place_picker. - December 6, 2021