Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUT request with no request_body and error messaging issue #157

Open
kmancusi opened this issue Jul 24, 2020 · 1 comment
Open

PUT request with no request_body and error messaging issue #157

kmancusi opened this issue Jul 24, 2020 · 1 comment

Comments

@kmancusi
Copy link

I updated to the latest version of this gem (0.3.4), and I'm getting a generic JSON syntax error in my test
Expected BEGIN_OBJECT but was STRING at line 1 column 2 path $

When, before, I was getting a defined message: Request body cannot be empty

From looking over what changed in rest_client_requester.rb, is it no longer possible to have no request_body?

@taylorthurlow
Copy link

Looks like this was fixed in #158.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants