thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Auto Encoding Query Parameters

Open nglehuy opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Users now have to manually encode the query params like isostring "2022-01-22T00:00:00+07:00" -> "2022-01-22T00%3A00%3A00%2B07%3A00" and copy the encoded value to Thunder Client's UI to make the requests work Therefore, it's not UI friendly

Describe the solution you'd like

  1. Automatically encode query params so that users only need to input "2022-01-22T00:00:00+07:00", not "2022-01-22T00%3A00%3A00%2B07%3A00", the encoded values will be merged to the URL and the UI display unencoded values
  2. [Optional] A button to enable/disable query params url encode so that users can choose

nglehuy avatar Jul 22 '22 06:07 nglehuy

Thanks @usimarit will add to roadmap

The extension will auto encode for some of the chars. Auto encode for all chars will cause confusion

I am planning to include manual encode button - option 2

rangav avatar Jul 22 '22 06:07 rangav

+1 to this. I would love the ability to use path variables and have them be automatically encoded (or at least have the option to enable encoding!)

jpinz avatar Aug 12 '22 19:08 jpinz

This feature is now implemented and published to marketplace, please update to v1.19.2

See all features released https://github.com/rangav/thunder-client-support/releases/tag/v1.19.2

Please let me know your feedback.

rangav avatar Sep 20 '22 16:09 rangav