Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

" Could not send request " error in Postman Web version

I am using postman web version.
I sent request using POST on url = localhost:3000/students But it is giving error :

Could not send request
Cloud Agent Error: Can not send requests to localhost. Select a different agent.

Please help what to do :(

like image 723
ritik jain Avatar asked Apr 18 '21 05:04

ritik jain


People also ask

Why Postman is showing could not send request?

If Postman fails to send your request, you may be experiencing connectivity issues. Check your connection by attempting to open a page in your web browser. Some firewalls may be configured to block non-browser connections. If this happens you will need to contact your network administrators for Postman to work.

How do I send HTTP request to localhost Postman?

Add the request URL ( localhost:4000/users ) in the appropriate textbox. In order to create a new resource in this database, we need to supply a user object to create in the body of the POST request. Select the “Body” tab and check the “raw” radio button to specify input. Press the Send button to send the POST request.


1 Answers

Postman Website cannot send a request to your computer's localhost. It first needs to connect to your PC with the Postman desktop client. You can download it here. Run it, then go to the Postman workspace in your browser -> send the request and it will work.

like image 76
MasterMind Avatar answered Sep 28 '22 03:09

MasterMind