Ajax-loader-large-white
How to use APIs with jQuery
The Four Verbs

The number of HTTP methods you'll use is quite small—there are just four HTTP "verbs" you'll need to know! They are:

  • GET: retrieves information from the specified resource.
  • POST: sends new information to the specified resource.
  • PUT: updates existing information of the specified resource.
  • DELETE: removes the existing resource.

So when we sent our GET request to codecademy.com, we retrieved information. When you add to or update your blog, you're sending POST or PUT requests; when you delete a tweet, there goes a DELETE request.

Make sense? Good! (We'll quiz you in a bit.)

Instructions

Click Save & Submit Code when you feel you've got a good handle on these HTTP methods.

index.html
project
View Preview