simple code translation from PHP to ASP.net/C#, Ruby, Python, Java

IN PROGRESS
Bids
8
Avg Bid (USD)
$76
Project Budget (USD)
$30 - $250

Project Description:
Hi,

I've got function, which can be called over HTTP. There are two possibilities:

1) you call www.mysite.com/method&apikey=xxxx&url=http://www.example.com -> 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:

ad 1)
$apikey = 'xxxx';
$url = 'http://www.example.com';
$request = "http://api.htm2pdf.co.uk/urltopdf?apikey=$apikey&url=$url";
$result = file_get_contents($request);

ad 2)
the same as above and then the following line:
header("location: " . $popup);

I need one or more people who can translate this code to ASP.net/C#, 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.

Skills required:
.NET, ASP, Java, Python, Ruby on Rails
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 40
in 1 days
$ 250
in 12 days
$ 50
in 1 days
$ 40
in 1 days
Hire zamoldar
$ 60
in 1 days
$ 30
in 1 days
$ 100
in 2 days
$ 40
in 1 days