All Apps and Add-ons

WebTools AddOn: Curl '401 - Forbidden' - ntlm not implemented?

Goesta
Explorer

Hey there,

we've worked out the reason why our attempts to GET some data (in this case, from a Sharepoint Server) using your awesome addon always gave us a 401.
Using the vanilla curl version of the command from $bash on our server, we'd also get a 401 when not providing the --ntlm option, but getting a valid response when adding it:

curl --ntlm -u DOMAIN/USER:PASSWORD "https://sharepointserver.com/sites/SubSite/_api/web/lists/GetById('GUID-OF-OUR-LIST')/items?$select='ID,FIELD1,FIELD2,FIELD3'" -H 'accept: application/json'

Is there a way to have your addon provide this option?

Otherwise we'd be stuck with taking the long route, i.e. using a script that'd create a file which we'd then index to process it from there...

Thanks and Best Regards,
Gösta

0 Karma

herbie_53
Explorer

Does anyone have an idea or has tried this as well? Any feedback would be much appreciated.

Best regards
Herbie

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...