usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.63k stars 1.28k forks source link

generate curl command not contains header or query param #3405

Open liuxing784 opened 3 weeks ago

liuxing784 commented 3 weeks ago

I have checked the following:

Describe the feature you want to add

set auth infos in Auth tab, generate curl command not contains header or query param.

Mockups or Images of the feature

微信截图_20241031135246 微信截图_20241031135450

liuxing784 commented 2 weeks ago

version: 1.33.1

ganesh-bruno commented 2 weeks ago

Hey @liuxing784,

Thanks for raising this issue. I was able to reproduce it on my end, and I’m able to get both params and headers when generating the cURL command.

Could you try upgrading to the latest version of Bruno (1.34.2)?
Let me know if you still encounter any issues.

liuxing784 commented 2 weeks ago

v1.34.2 also have this issue.

liuxing784 commented 2 weeks ago

image image image image

liuxing784 commented 2 weeks ago

This problem also exists when setting authentication information directly: image image

ganesh-bruno commented 2 weeks ago

Hey @liuxing784,

I need some time to investigate this with the team. I’ll get back to you with an update.

ganesh-bruno commented 2 weeks ago

Hey @liuxing784 Thanks for reporting this issue.

Right now we're only supporting basic auth and bearer token Our team is actively working on adding support for additional options to ability to retrieve headers while generating code.

if you're facing any other issue let us know.