added post command with 201 status code as well as returned a location property to the resource