Quantcast
Channel: Developing Code, Connecting Industry » HTTP
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Should I use PUT or POST for a CREATE operation in REST?

POST is for CREATE, and PUT is for UPDATE and CREATE. Ok, they both allow CREATE, how should we choose to use PUT or POST for a CREATE? Let’s say we have an animal adoption service. We have /animals to...

View Article


Image may be NSFW.
Clik here to view.

Compress/Decompress a String in C#

The feature I was working on today involved saving some temporary data into an HTTP session cookie. The data was an object serialized into JSON. Writing and reading cookies is easy enough but, after...

View Article

Browsing latest articles
Browse All 2 View Live