Responding status code 201 only in POST request.