When I do a POST request I am getting this error. Error: connect ECONNREFUSED 127.0.0.1:3000. On the contrary, when I use postman it works.
This is the url: http://localhost:3000/users/sign_in
And this is my configuration:
JSON tab:
{"user": {"email": "[email protected]", "password": "clave12345"}}
Headers:
Insomnia is yet another popular, fast REST client that's available for Mac, Windows, and Linux. You can use Insomnia for testing RESTful as well as GraphQL APIs.
Insomnia supports PFX (Mac) and PEM (Windows and Linux) certificates. To import a new certificate, click Document Settings or Collection Settings then the Client Certificates tab.
Whereas both tools show and parse responses, it's hard to see the actual request being sent. Insomnia provides access to raw HTTP traffic log through UI. With Postman, it's much trickier, you need to have Postman DevTools Console opened when making request. Insomnia has minimalistic, cute and simple UI.
Open the menu Insomnia → Preferences and select the Plugins tab. Type insomnia-plugin-mastercard-auth in the npm-package-name edit box and click the Install Plugin button. The plugin is installed successfully if you see the name and version appear in the table.
I'm the developer of Insomnia, and would like to let you know that this problem has been fixed in a recent release.
The app will now first attempt an IPv6 lookup (usually ::1), then fallback to an IPv4 lookup (usually 127.0.0.1) on error. This now aligns with the behavior of the curl
command line tool.
You can download the latest version here for Mac, Windows, or Linux.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With