Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I don`t want really to open a web browser with this link but I want to make the EM profile login via the perl script and this HTTP-Link.
BR Michael
Subject: RE: HTTP-Link via Perl? Replied by: Martin Sloan on 17-06-2013 07:51:52 AM Hi Michael,
Check out the LWP Perl mod. Here's some structure for code I would use while doing POST/GET. This might get the job done for EM, but I've never tried it specifically. You'll have to install the LWP module and dependencies if you haven't already.
my $url="https://AddressOfTheService"; my $ua = LWP::UserAgent->new; my $header = HTTP::Headers->new; $header->header("Content-Type","application/xml"); my $req = HTTP::Request->new(POST => $url, $header); $req->authorization_basic("Username","Password"); my $response = $ua->request($req);
Also, there's a forum for the EMAPI where you might find more help:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: