not! PUT /user/jthijssen/talk/123 PUT /user/jthijssen/talk/123 POST /user/jthijssen/talks POST /user/jthijssen/talks POST is the worst option for caching / scalability, but use it if you don’t know what to do.
= MAIN_URL + “/” + user_id + “/talks”; rc = HTTP.post(url, data); Uri can change: server, uri, protocol, port etc.. If you need to “construct” an URI, you are doing it wrong
encoding="UTF-8" ?> <article> <title>My blogpost</title> <author>John Doe</author> <content>This is the content for my blog article</content> </article> Synchronous updates
encoding="UTF-8" ?> <article> <title>My blogpost</title> <author>John Doe</author> <content>This is the content for my blog article</content> </article> Synchronous updates HTTP/1.1 201 Created Location: /blog/20010101-myblogpost
encoding="UTF-8" ?> <article> <title>My blogpost</title> <author>John Doe</author> <content>This is the content for my blog article</content> </article> Asynchronous updates
encoding="UTF-8" ?> <article> <title>My blogpost</title> <author>John Doe</author> <content>This is the content for my blog article</content> </article> Asynchronous updates HTTP/1.1 202 Accepted Location: /queue/621252