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

Add content-type to copied curl command #426

Closed
lordnynex opened this issue Feb 12, 2020 · 1 comment
Closed

Add content-type to copied curl command #426

lordnynex opened this issue Feb 12, 2020 · 1 comment

Comments

@lordnynex
Copy link

if (['POST', 'PUT'].indexOf(method) >= 0) {

I stumbled across this issue when using the cURL button to craft some update by queries. It would be nice if it added -H 'content-type: application/json'.

@lmenezes
Copy link
Owner

@lordnynex 👍
should be an easy fix, will try to find time this week and push a minor release!

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