I've got function, which can be called over HTTP. There are two possibilities:
1) you call www.mysite.com/method&apikey=xxxx&url=[url removed, login to view] -> returns a file to the caller
2) you call www.mysite.com/method&apikey=xxxx&url=http://www.example.com&popup=y -> returns a line of text indicating a URL
In PHP I would do the following to handle both situations:
$apikey = 'xxxx';
$url = '[url removed, login to view]';
$request = "[url removed, login to view]$apikey&url=$url";
$result = file_get_contents($request);
the same as above and then the following line:
header("location: " . $popup);
I need one or more people who can translate this code to [url removed, login to view], Ruby, Python, Java and Perl.
You must also be able to demonstrate this code working. I will of course give you a real working example of a URL returning files.
Please respond with your offer and indicate to which language(s) you can translate and for which price. You must finish within one day upon acceptance.
6 freelancers are bidding on average $52 for this job
Your main requirements are clear. We can do this for you and we have mentioned how we are going to do this in the message we sent you. Please go through it and contact us for more details. Solution Infinity.