10.3. Testing our Simple Custom API with Postman
Please watch the video to learn how to use Postman with an API.
Contacts API details
The base URL: https://apis.sakibnm.work:8888/contacts/text/
The endpoints:
Get all contacts:
getallMethod:
GETQuery Params: none
Get the details of a particular contact:
detailsMethod:
GETQuery Params:
name
Add a contact:
addMethod:
POSTBody Params:
name,email,phone.
Delete a particular contact:
deleteMethod:
GETQuery Params:
name
Last updated
Was this helpful?