Skip to main content
12 events
when toggle format what by license comment
Aug 7, 2023 at 14:45 comment added Schwarzer @Domen Oh god. I forget! Thanks for the tips!
S Aug 7, 2023 at 13:22 history suggested Schwarzer CC BY-SA 4.0
code correction
Aug 7, 2023 at 12:13 comment added Domen How do you expect cookies with "Domain" set to "wolfram.com" to work on "example.com"? :) You have to correctly set/change the domain.
Aug 7, 2023 at 12:01 comment added Schwarzer @Domen Thanks for keeping up with this, I'm now attaching the source code to the comments: ClearCookies[All]; ck = URLRead @ HTTPRequest["https://wolfram.com",CookieFunction->Print] cookies=ck["Cookies"] req = HTTPRequest["www.example.com",<|"Cookies"->{cookies}|>]; URLRead@req;. The result of my subsequent monitoring of the sent requests on fiddler is the image I attached in the question. My MMA version is 13.2.
Aug 7, 2023 at 11:56 review Suggested edits
S Aug 7, 2023 at 13:22
Aug 5, 2023 at 11:34 comment added Domen @Schwarzer, I see now what you mean. I think HTTPRequest with cookies works fine. Please add your complete code that you are using (that is, include also the definition of cookies) so that we can use the same code and test it. And also include which Mathematica version you are using.
Aug 5, 2023 at 11:32 history edited Domen CC BY-SA 4.0
added 11 characters in body
Aug 5, 2023 at 10:41 comment added Schwarzer @Domen I know what you mean but at least once I send a request with only cookies data the traffic monitor software like Fiddler should capture the request which has only cookies data. If the software cannot detect cookies data nor the website could. So I'm quite sure just add headers or other payloads cannot solve the problem. Anyway, thanks for discussion.
Aug 3, 2023 at 14:52 review Close votes
Aug 25, 2023 at 3:02
Aug 3, 2023 at 14:31 comment added Domen Your syntax is correct. It is hard to blindly debug why the site doesn't allow you the access. Providing cookies might not be enough though: Try adding other HTTP Headers and UserAgent to your HTTP request.
S Aug 3, 2023 at 13:27 review First questions
Aug 3, 2023 at 13:56
S Aug 3, 2023 at 13:27 history asked Schwarzer CC BY-SA 4.0