Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Curl Proxy Https Request

MarqueeCrew
20 - Arcturus
20 - Arcturus

Oh how I struggled....

 

Run Command

Command

<Path>\curl.exe

Command Arguments

-k <https://<web URL string>  --proxy <proxy address>:<port> --proxy-user <userid>:<password>@<your-proxy-ip-address Port> -o "%temp%\temp_read.csv"

Where %temp%\temp_read.csv puts the data to where you'll read from:

Input

%temp%\temp_read.csv


Should this have been easy?  I hope that it is helpful for others.

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
6 REPLIES 6
JamesRoberts
6 - Meteoroid

MarqueeCrew,

 

I am also using cURL for an API project using Digest authentication. However the version of cURL installed with Alteryx doesn't support HTTPS - I'm on 11.5. Can you confirm if your version of cURL (C:\Program Files\Alteryx\bin\RuntimeData\Analytic_Apps) supports HTTPS, or did you download a later version to get this to work? Just concerned that I will have to rollout an updated version of cURL to any Alteryx desktop users who want to run this workflow. 

MarqueeCrew
20 - Arcturus
20 - Arcturus

I did download another version: 7.56.1 -win64-mingw

 

:)

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
mbarone
16 - Nebula
16 - Nebula

Hi @MarqueeCrew!

 

I've been struggling like crazy the past couple weeks with this.  I just can't seem to get it.  Our IT firewall necessitates the use of cURL.  I had a macro built years ago by our old rep that used the syntax:   

 

-proxy-ntlm -x proxy.http://<UserName:Password>@###.##.###.###:80 http://earthquake.usgs.gov/earthquakes/catalogs/eqs7day-M1.txt -o "%temp%out.txt"

 

It worked fine until everything starting going to HTTPS.  Now it doesn't work at all.

 

I downloaded this curl version to C:\curl (I created a new folder for that).

 

7.56.1 - SSL enabled SSH enabled 
URL: https://bintray.com/artifact/downlo...-win64-mingw.7z 
Provided by: Viktor Szakáts

 

And tried your syntax (

-k <https://<web URL string>  --proxy <proxy address>:<port> --proxy-user <userid>:<password>@<your-proxy-ip-address Port> -o "%temp%\temp_read.csv"

but I keep getting error code 1.  Can you clarify that you mean by the part after the url:

--proxy <proxy address>:<port>

Is that the same as 

<your-proxy-ip-address Port>

?

 

Any help would be greatly appreciated.  I've been puling out my non-existent hair.

MarqueeCrew
20 - Arcturus
20 - Arcturus
-k <https://<web URL string>  --proxy <proxy address>:<port> --proxy-user <userid>:<password> -o "%temp%\temp_read.csv"

@mbarone

 

Try above.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
mbarone
16 - Nebula
16 - Nebula

That did the trick!!!!!!!!!!!!!!!!!


Thanks Mark - I owe you a beer at the next Inspire (even though they're included LOL)!!  Sometimes it's all in the syntax!

mbarone
16 - Nebula
16 - Nebula

Your response can be marked as another solution, but I'm unable to mark it as such.  I think just the original poster can, which would be you - so I think that deserves another accepted solution!

Labels