vscode-restclient: CURL -c option not working properly

  • VSCode Version: 1.14.2
  • OS Version: MacOS Sierra 10.12.3
  • REST Client Version: 0.15.1

Steps to Reproduce:

  1. From a terminal run following curl command (you can change path of -c property):

curl -i -c "/tmp/cookies.txt" "http://httpbin.org/cookies/set?k2=val2&k1=val1"

  1. File /tmp/cookies.txt file is created, check it.
  2. Delete /tmp/cookies.txt
  3. Repeat step 1 from vs rest client, -> file /tmp/cookies.txt is not created.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@drmistral I also fixed the bug in my side, and in next release of this extension, you can still set the cookie path with trailing slash. And -c and -b options will be supported in the future, so I’d like to put them in backlog. And I will update the README to show available options in cURL

@drmistral I will document this, and can you check the cookie.json and whether the jsessionid stored in it? And I will first fix the bug in #112