You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curl option -b sends a local cookie file to the server while executing subsequent (curl) rest calls. It seems that from vs rest client file is not sent:
Steps to Reproduce :
Save following content in a file /tmp/cookies.txt
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
httpbin.org FALSE / FALSE 0 k2 value2
httpbin.org FALSE / FALSE 0 k1 value1
From terminal, check sending of local cookie info: curl -i -b "/tmp/cookies.txt" "http://httpbin.org/cookies"
you get
{
"cookies": {
"k1": "val1",
"k2": "val2"
}
}
Repeat step 2 but from vs rest client, you get
{
"cookies": {}
}
The text was updated successfully, but these errors were encountered:
Curl option -b sends a local cookie file to the server while executing subsequent (curl) rest calls. It seems that from vs rest client file is not sent:
Steps to Reproduce :
curl -i -b "/tmp/cookies.txt" "http://httpbin.org/cookies"
you get
The text was updated successfully, but these errors were encountered: