curl / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Bill Mercer <bmercer_at_nccer.org>
Date: Sun, 15 Jan 2017 19:41:08 +0000

> Does anyone have experience using curl to download a report from
> a Microsoft SSRS server? I’m trying to automate the retrieval of some
> reports, and am having trouble building a URL that works with curl.
>
>
> I think you should be able to copy the URL that was used to generated the
> report in the browser and then use that with curl. What happens when you
> do that?

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.

 

-------------------------------------------------------------------
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