scolife has asked for the wisdom of the Perl Monks concerning the following question:
If I call web service which shows image "https://webdomainasdad/getstapic.ashx?id=10010008460" It returns correct Image and I can save it to MYSQL<to_user_info> <photo>https://webdomainasdad/getstapic.ashx?id=10010008460</photo +> <lastname>asssa</lastname> <firstname>asdadas</firstname> <sisiid>06B06B10253</sisiid> <school>asdasd</school> <program>asdasas</program> <registerNr>asd89021800</registerNr> <phones/> <emails/> <userStatus> res</userStatus> <usertype>1</usertype> </to_user_info>
$photo = "https://webdomainasdad/getstapic.ashx?id=1001000846 +0"; #$photo is parsed from XML my $res = $ua->get("$photo"); my $imgfile = $res->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Web service called with wrong parameter
by Corion (Patriarch) on Sep 14, 2015 at 11:59 UTC | |
|
Re: Web service called with wrong parameter
by choroba (Cardinal) on Sep 14, 2015 at 11:55 UTC | |
by scolife (Novice) on Sep 14, 2015 at 12:01 UTC | |
|
Re: Web service called with wrong parameter
by castaway (Parson) on Sep 14, 2015 at 12:21 UTC |