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

Generating curl request from a PUT test in is missing --header "Content-Type: application/json" #2488

Open
2 tasks done
AdamJWise opened this issue Jun 19, 2024 · 0 comments · May be fixed by #2491
Open
2 tasks done
Labels
bug Something isn't working

Comments

@AdamJWise
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

When I create a 'PUT' request in Bruno that has a json payload, it automatically (correctly) sends a Content-Type header indicating application/json. However when I click 'Generate Code / Shell-Curl' the output does not contain the header, and so the request fails.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

And here's the curl. Note the lack of an application/json header:

image
@AdamJWise AdamJWise added the bug Something isn't working label Jun 19, 2024
@jwetzell jwetzell linked a pull request Jun 20, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant