POST
POST Method
Subject to authorization, the HTTP POST method works in Pagelove as per the HTTP specification. HTTP POSTs can be used to create resources.
When a selector range unit is used alongside the POST method, if the requested node is present in the document then the body of the HTTP message is appended to it.
POST /index.html HTTP/2
Range: selector=ul
Content-Type: text/html
Content-Length: 17
<li>New item</li>
If the HTTP request is successful, the client receives a 206 Partial Content message back from the server. The response headers will include a Content-Range header that indicates the element that has been updated with the Content-Range header, and the body of the message set to the serialized HTML of element to append.
HTTP/2 206 Partial Content
Content-Range: selector=ul
ETag: gen-9219
Content-Length: 17
<li>New item<li>
If the request refers to a resource that doesn't exist, a 404 Not Found is returned. If the resource exists, but the CSS selector is invalid, a 416 Range not Satisfiable message is sent.