In my experience, REST APIs make it easier to communicate. If you are allowed to install modules, then a quick look at CPAN reveals http://search.cpan.org/~mcrawfor/REST-Client-88/lib/REST/Client.pm as a module for interacting with a REST endpoint. Given the fact that who ever made the script used Mechanize, more than likely you'll be making a POST or a GET call. Ask the share point admins to give you a sample request with headers. You'll more than likely have to get acquainted with REST but it's worth the while. | [reply] [Watch: Dir/Any] |
a quick look at CPAN reveals http://search.cpan.org/~mcrawfor/REST-Client-88/lib/REST/Client.pm
I'll bite. Why have you picked that old version of the module from 9 years ago? The most recent release as of today is version 273 from August 2015. Far better to get the latest version with all the fixes, no? Or is there something particular to version 88 that you think perlas requires?
Like you, I am happy to recommend Rest::Client but I would use the latest version.
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
I apologize. Please use the latest. I just happened to click on the first link that appeared. :)
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] [d/l] [select] |
This probably won't help, but you might get a laugh out of it.
When I saw your post about Perl and SharePoint, I remember stumbling across a blog post that had me laughing. I don't even remember what I was searching for when I came across it. The blog post that I'm referring to can be found here. Here's the part that cracked me up since I did not enjoy maintaining a SharePoint site at $work and I like to use Perl.
Why on earth would these two disparate camps ever meet? Perl is 15 million years old, right, and SharePoint is the bane to system administrators everywhere. The small “SharePerl” audience includes me, and two or three really old techs that still use land line phones.
Anyways, that blog post was dealing with using Perl to access SharePoint. However, I don't think its dealing with 2 factor authentication. Like I said, probably not all that helpful, but thought I'd share anyways.
| [reply] [Watch: Dir/Any] |