HTTP request in command line
Without Postman, we can send HTTP in PowerShell on a Windows machine.
Here is an example:
Invoke-RestMethod -Uri "http://example.com/api/endpoint" -Method POST -Body '{"key":"value"}' -ContentType "application/json"
Without Postman, we can send HTTP in PowerShell on a Windows machine.
Here is an example:
Invoke-RestMethod -Uri "http://example.com/api/endpoint" -Method POST -Body '{"key":"value"}' -ContentType "application/json"