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

A post with json data being an empty object doesn't print the --data '{}' #30

Closed
kemaleq opened this issue Sep 23, 2020 · 0 comments · Fixed by #32
Closed

A post with json data being an empty object doesn't print the --data '{}' #30

kemaleq opened this issue Sep 23, 2020 · 0 comments · Fixed by #32

Comments

@kemaleq
Copy link

kemaleq commented Sep 23, 2020

A POST without a body is not exactly the same as a POST with a '{}' body, right now empty bodies are omitted and the resulting curl doesn't have the --data property.

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

Successfully merging a pull request may close this issue.

1 participant