Added ability to set method type to PUT as well as POST.

Lets the POST method be overridden by the consumer.  Also makes status code 201 a success.