Timeline for How to use URLFetch for a https secure automated login?
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 11, 2017 at 21:16 | history | edited | b3m2a1 | CC BY-SA 3.0 | added 1515 characters in body |
| Mar 11, 2017 at 20:23 | comment | added | b3m2a1 | Reading the docs for the python requests module that cert keyword is actually a special SSL specifier so the question is really about how we configure SSL in a HTTPRequest. It's worth trying to configure your .pem file rather than the cert key tuple as a start. I'll look into that more. | |
| Mar 11, 2017 at 20:12 | comment | added | nilo de roock | Betfair documentation for bot login is here. docs.developer.betfair.com/docs/display/… | |
| Mar 11, 2017 at 20:11 | comment | added | b3m2a1 | So they want me to move this to a chat (so I started one) but that's why I thought this would be similar. I got twitter to work. It's all a question of how where the cert goes / how it's encoded I think. | |
| Mar 11, 2017 at 20:09 | comment | added | nilo de roock | I read Step 2 from the Twitter guide, that is exactly what I am doing, I am expecting a TOKEN, only in my case from Betfair. | |
| Mar 11, 2017 at 20:08 | comment | added | b3m2a1 | Let us continue this discussion in chat. | |
| Mar 11, 2017 at 20:04 | comment | added | b3m2a1 | 400 means "malformed request". Give me a moment to see what could be going wrong. | |
| Mar 11, 2017 at 20:03 | comment | added | nilo de roock | OK. Message[Import::fmterr, "JSON"]; Return[$Failed] Import::fmterr: Cannot import data as JSON format. If I leave out the "JSON" from the Import then I get HTTP Error Code 400 | |
| Mar 11, 2017 at 19:57 | comment | added | b3m2a1 | I had it commented out because HTTPRequest whined at me, thinking I was trying to send files that didn't exist. If you look under the "Body" part of Details and Options it has something on using File to send files. | |
| Mar 11, 2017 at 19:56 | comment | added | nilo de roock | I thought that was a comment. Will try now. | |
| Mar 11, 2017 at 19:55 | comment | added | b3m2a1 | I would try mapping File over those as is shown in the HTTPRequest docs. | |
| Mar 11, 2017 at 19:54 | comment | added | nilo de roock | I received, the {"loginStatus" -> "CERT_AUTH_REQUIRED"} message. My $cert = {"C:\\OpenSSL-Win32\\client-2048.crt", "C:\\OpenSSL-Win32\\client-2048.key"} these files exist in my dir. I have also tried it with $cert = {"C:\\OpenSSL-Win32\\client-2048.p12"}, this is the file I use in my Java program. No success either. I also tried $cert = "C:\\OpenSSL-Win32\\client-2048.p12" with no success. | |
| Mar 10, 2017 at 21:50 | history | answered | b3m2a1 | CC BY-SA 3.0 |