30% off every course until Sunday, October 11. Our biggest update yet, and we'd like you to try it. Applied automatically at checkout.

Choose your certification
Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

7.5.1. HTTP Methods (CRUD Operations)

HTTP MethodCRUDAction
GETReadRetrieve data
POSTCreateAdd new data
PUTUpdateReplace data
PATCHUpdateModify part of data
DELETEDeleteRemove data

Response status codes tell the script what happened. The first digit gives the class: 2xx success, 4xx client error (the request is the problem), 5xx server error.

CodeMeaningTypical cause
200 OKRequest succeededData returned (e.g., after a GET)
201 CreatedRequest succeeded; a new resource was createdAfter a POST
400 Bad RequestRequest was malformedInvalid JSON or failed validation
401 UnauthorizedNot authenticatedMissing, invalid, or expired credentials/token
403 ForbiddenAuthenticated but not permittedAccount lacks rights to the resource
404 Not FoundResource does not existWrong URL or a non-existent object
500 Internal Server ErrorServer failed while processing a valid requestFault on the server side
See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•20 professional certifications