get post with responseCode 422 and put with responseCode 204