Replies: 4 comments 10 replies
-
@zsmanjot Because you're asking a question, the initial st2 issue (#5630) was converted to a Github Discussion here. |
Beta Was this translation helpful? Give feedback.
-
As for the question you're asking, per StackStorm docs (https://docs.stackstorm.com/reference/runners.html#id9) looks like http runner accepts |
Beta Was this translation helpful? Give feedback.
-
Hi @armab Thanks for replying. I tried using the that way. But it says me invalid credentials. May be the cookie is not passed correctly. We basically have a Netscape HTTP Cookie File. This file is generated by libcurl. Here is the reference : https://curl.haxx.se/docs/http-cookies.html Via curl command we can use -b option to specify the file path. But with core.http we donot have such option i suppose. Let me know your views on it. |
Beta Was this translation helpful? Give feedback.
-
Not sure if it helps, but can you try first using an action to read the file into a variable and then pass that into the cookies of the http runnner? |
Beta Was this translation helpful? Give feedback.
-
We are using curl command in one of our projects. Since curl is not that secure so we thought to leverage the core.http method of stackstorm. But the issue is we are unable to pass the cookie using it. We have cookie stored in a file and it is a Netscape HTTP Cookie File. Do we have any method of how we can pass this file as cookie in the core.http runner.
Beta Was this translation helpful? Give feedback.
All reactions