POST

GPTKB entity

Statements (50)
Predicate Object
gptkbp:instanceOf HTTP request method
gptkbp:cacheable false
gptkbp:canBe REST API operations
file upload
form submission
gptkbp:canCreate new resources
gptkbp:commonIn APIs
HTML forms
gptkbp:contrastsWith gptkb:PATCH
DELETE
GET
PUT
gptkbp:definedIn gptkb:RFC_7231
gptkbp:example POST /api/resource HTTP/1.1
POST /submit-form HTTP/1.1
gptkbp:features CSRF risk
can be abused for spam
input validation required
gptkbp:hasIdempotency false
gptkbp:headerRequired Content-Length
Content-Type
https://www.w3.org/2000/01/rdf-schema#label POST
gptkbp:introducedIn HTTP/1.0
gptkbp:method non-idempotent
unsafe
write operation
gptkbp:notableRelease existing resources
gptkbp:requestBodyAllowed true
gptkbp:requestBodyFormat gptkb:JSON
XML
form-data
multipart/form-data
x-www-form-urlencoded
gptkbp:responseBodyAllowed true
gptkbp:safeMethod false
gptkbp:statusCodes gptkb:500_Internal_Server_Error
200 OK
201 Created
204 No Content
400 Bad Request
404 Not Found
gptkbp:supportedBy all major browsers
all major web servers
gptkbp:triggeredBy database write
email sending
server-side processing
gptkbp:usedFor submitting data to a server
gptkbp:usedIn gptkb:HTTP
gptkbp:bfsParent gptkb:HTTP
gptkbp:bfsLayer 3