API

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

4 Terms

1
New cards

what are the HTTP methods

  • GET - read

  • POST - create

  • PUT - update

  • DELETE - delete

2
New cards

what are some common status codes you’ve encountered?

  • 200 - OK

  • 201 - created

  • 400 - bad request

  • 401 - unauthorized

  • 403 - forbidden

  • 404 - not found

3
New cards

401 vs 403

  • 401 - you need to put in valid authentication

  • 403 - you have valid authentication but you don’t have access

4
New cards

what is API?

API is like the messenger between a user and the server

  • user will send in a request to the server that the API will carry out

  • API will return a response and a response code from the server to the user