You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zed A. Shaw
f6b0b72a82
|
2 years ago | |
---|---|---|
.. | ||
public | 2 years ago | |
README.md | 2 years ago | |
api.js | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago |
README.md
10: A Simple JSON API
You'll need to download curl for windows from curl.se if you're on
windows. The only problem is PowerShell comes with a fairly lame curl
that's an alias for
Invoke-WebRequest
. You can just type curl.exe
and that'll use the real curl. You can also or run this command:
remove-item alias:curl
After that you should be able to run curl
like normal with just:
curl
curl: try 'curl --help' or 'curl --manual' for more information
The only problem is you'll have to do this every time you start PowerShell. Making this permanent
is...complicated. Just type curl.exe
instead.