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

fix: plain text curl data #3677

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

pooja-bruno
Copy link
Collaborator

@pooja-bruno pooja-bruno commented Dec 18, 2024

Curl Import does not import body when the mime type is text/plain

curl --request GET
--url https://testbench-sanity.usebruno.com/ping
--header 'check: again'
--header 'collection-header: collection-header-value'
--header 'content-type: text/plain'
--header 'token: {{collection_pre_var_token}}'
--data true

Current Behaviour

Above curl command imports body as empty

Expected Behaviour

Body should be imported correctly. “true” in above example.

@helloanoop helloanoop merged commit f8711a9 into usebruno:main Dec 23, 2024
1 of 2 checks passed
hadoan added a commit to hadoan/apigpt that referenced this pull request Dec 26, 2024
Its-treason added a commit to Its-treason/bruno that referenced this pull request Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants