These are the projects for the JavaScript Level 2 module in Learn JS the Hard Way.
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.
 
 
 
js-level-2-projects/10-a-simple-json-api
Zed A. Shaw f6b0b72a82 Bring in an updated jzed.js and thinking adding a few ideas for the lesson introducing a big of DOM magic. 2 years ago
..
public Bring in an updated jzed.js and thinking adding a few ideas for the lesson introducing a big of DOM magic. 2 years ago
README.md Quick start for Ex10 but now that I think about it, maybe it's not the best exercise for 10 and this should be a login exercise. 2 years ago
api.js Quick start for Ex10 but now that I think about it, maybe it's not the best exercise for 10 and this should be a login exercise. 2 years ago
package-lock.json Quick start for Ex10 but now that I think about it, maybe it's not the best exercise for 10 and this should be a login exercise. 2 years ago
package.json Quick start for Ex10 but now that I think about it, maybe it's not the best exercise for 10 and this should be a login exercise. 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.