Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

http status codes

GET   : 200 OK - Most of the read actions will be answered with a 200 OK status.
POST  : 201 Created - Signals backend-side resource creation.
PUT   : 200 OK - This is the most appropriate code for most use-cases - returns the updated resource.
DELETE: 204 No Content - It’s better to reduce traffic and simply tell the client the deletion is complete.
Source by www.w3schools.com #
 
PREVIOUS NEXT
Tagged: #http #status #codes
ADD COMMENT
Topic
Name
8+8 =