curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Semi-off-topic: Retrieving an SSRS report via curl

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 15 Jan 2017 15:42:30 -0500

On 1/15/2017 2:41 PM, Bill Mercer wrote:
> Mostly I'm getting 401 unauthorized errors. Identical URL and identical credentials, but different results depending on whether I'm using a browser or curl, so I'm thinking it's something about the SSRS authentication that is tripping me up.

What is your curl -V ? Are you using ntlm authorization or just basic?
Try ntlm, if you enable verbose it should look like
Authorization: NTLM <secret>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-15