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

Importing a curl request that uses an unsupported HTTP method silently converts to a GET request

Open fidothe opened this issue 3 years ago • 1 comments

Describe the bug Importing a CuRL request with meta-U like the following: curl -X PROPFIND http://example.org/test produces a new entry in the extension's side pane which lists PROPFIND as the method, but the request document shows GET and sending request generates a GET request instead of the PROPFIND request expected.

To Reproduce

  1. Import a CuRL request that uses an HTTP method that Thunder Client does not support like curl -X PROPFIND http://localhost:1234/
  2. Newly created request has correct HTTP method in coloured lozenge in side pane.
  3. Running request issues a GET request and changes the HTTP method in the coloured lozenge to GET

Expected behavior I expected the HTTP method to be the same as in the Curl request.

Platform:

  • OS: macOS 12
  • vscode version: 1.69.2
  • extension version: 1.16.7

Solution:

fidothe avatar Jul 21 '22 13:07 fidothe

Thanks @fidothe reporting the issue, will fix asap.

related to https://github.com/rangav/thunder-client-support/issues/674

rangav avatar Jul 21 '22 13:07 rangav

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

See all features and bugs fixed released https://github.com/rangav/thunder-client-support/releases/tag/v1.17.0

Please let me know your feedback.

rangav avatar Aug 15 '22 14:08 rangav