HTTP Methods & Status Codes Tidbit

In this tidbit I want to touch on different types of HTTP Methods & the types of HTTP status codes you may encounter when consuming APIs in regard to automation.


HTTP Methods:

  • GET = get user info

  • PATCH = update the user

  • HEAD = get only header

  • DELETE = delete the user

  • PUT = replace the user

  • POST = create the user

HTTP Status Codes:

  • 1xx = information

  • 2xx = successful

  • 200 = (OK)

  • 201 = (CREATED)

  • 204 = (NO CONTENT)

  • 3xx = redirection

  • 301 = (MOVED PERMANENTLY)

  • 302 = (FOUND)

  • 304 = (NOT MODIFIED)

  • 4xx = client error

  • 400 = (BAD REQUEST)

  • 401 = (Unauthorized)

  • 403 = (Forbidden)

  • 404 = (Not Found)

  • 5xx = server error

  • 500 = (Internal Server Error)

  • 501 = (Not Implemented)

  • 503 = (Service Unavailable)

To see more check out the <rest> & <api> tags. Cheers!

0 comments

Recent Posts

See All

Email Security - S/MIME Tidbit

So it has definitely been a minute since I produced a tidbit. Lately I have been investing personal time into email security. The topics that I have covered thus far are in no particular order, but

November 21 Update Tidbit

Sharing some quick personal news as well as an update with where my head is currently at. I recently invested most of my time with VPNs the last couple of months. So I finally decided to take a stab

Personal Tidbit - Oct 2021

Sharing some exciting news. I recently participated in a Cisco Championship Content competition, & actually claimed first place! Pretty excited to receive the news since I frequently spend time on Ci