BinaryBrother Posted September 14, 2013 Posted September 14, 2013 I'm working on a Google Voice UDF for AutoIt and ran into a small problem. I'm using the IE UDF and Google is pushing the JSON data with that "application/octet-stream" header or the "application/force-download" hack, that forces IE to prompt to download the file, rather than displaying it in the render area. I'm expecting to be able to read the JSON data into an AutoIt variable. I see a few options... 1.) Figure out how to do that with the IE UDF. Dale, it's been a bit since I last asked you for help. 2.) Use the WinHTTP stuffs with a custom cookie container of some sort. Should I use the IE UDF or try going a different route? SIGNATURE_0X800007D NOT FOUND
BinaryBrother Posted January 3, 2014 Author Posted January 3, 2014 Last bump. This project fell through on my priority list, but I'm still curious as to a solution. ^.^ SIGNATURE_0X800007D NOT FOUND
Gabriel12345 Posted January 3, 2014 Posted January 3, 2014 (edited) I prefer to make the request directly using Inet.au3. Here is a set of scripts heavily based on the work of other forum contributors and mangled by yours truly. I only take credit for the mangling. This will give you the raw request data instead of a file download. ; untested usage example #include "HTTP.au3" Local $aResponse[3] $aResponse = HTTP_Request('http://google.com', "", "", "", "", "", "") msgbox(0,"",$aResponse[0]) msgbox(0,"",$aResponse[1]) msgbox(0,"",$aResponse[2]) HTTP.au3 Edited January 3, 2014 by Gabriel12345
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now