I have an assignment at school to build a webserver that handles GET/HEAD/PUT requests, via browser and Telnet, i have a working server handling GET/HEAD and telnet requests but i cant find out how a put request works/looks. I know its used to put content on a webserver but the syntax i cant find=/
-Jonas
A response to this (if you created a new resource) may be something like this:
If you updated an existing resource, it could be
Or just ‘200 Ok’ if you want to return some more information.
This information is not that hard to find though, just look in the HTTP/1.1 specification.