Insomnia: [Feature Request] Import query params on cURL paste

Created on 8 Oct 2019  路  6Comments  路  Source: Kong/insomnia

  • Insomnia Version: 7.0.0
  • Operating System: macOS 10.14.5

Details

I think it would be convenient if the queryparams from a pasted cURL would be parsed automatically. There were some similar issues about this before (ex. #1684, #205).

I know about the Import from URL button at the bottom of the Query tab (though I only found out about it after reading through issues 馃槢), but I can't think of a reason for not having them parsed by default. I'm willing to work on this, if you agree it would be an improvement! :smile:

accepted good first issue

Most helpful comment

Thanks @gschier !

@Surendrajat Sure, i'll keep an eye out for the trailing ? :smile:

All 6 comments

馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

+1 for this feature.
As testing with different query values is an essential part of API development, having auto parsing of queries from copied request saves one or more manual steps. I wonder why this is not the default behaviour.

This sounds like a good thing to implement! Let me know if you need any help 馃挴

@eliasmeire if you could also remove the trailing ? after parsing, it'll be great as I like API endpoint clean.

Thanks @gschier !

@Surendrajat Sure, i'll keep an eye out for the trailing ? :smile:

BTW wouldn't the Import from URL be redundant after implementing this? Just wondering. I wonder a lot :stuck_out_tongue:

Was this page helpful?
0 / 5 - 0 ratings