Skip to content
New issue

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

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

Already on GitHub? # 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!

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

No branches or pull requests

2 participants