176985602337900

Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

HTTP POST in C# for login
Sign in to Add to Watch List

IT & Programming > Web Programming

View Change History

The client has made the following changes to the job.

Description
Date

Job description changed. New Version|Previous Version

May 1, 2013
Close

Job Description

  |  Change History >>

Updated

This is a pilot of the big project that i have. Contractor will be chosen based on a test We are looking for someone proficient in C# Kindly submit a sample code for the following scenario to prove that you can handle complex web based processes 1. create a dummy account on squareup.com 2. Using c#, and username and password that you created, write a block of code for logging into the site using httprequest or webclient or whatever object you want to use. 3. We are interested in seeing who can get past the authentication with successful form submission. Hint: The site uses authenticity_token in post data that changes everytime you open the squareup login page. Here is some sample code as well string geturl = "https://squareup.com/login"; string postData = "authenticity_token=" + authtoken + "&email=jronald538%40gmail.com&password=yeti9*7%23"; HttpWebRequest getRequest = (HttpWebRequest)WebRequest.Create(geturl); getRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31"; getRequest.Accept = "application/json, text/javascript, */*; q=0.01"; getRequest.Headers.Add("Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3"); getRequest.Headers.Add("Accept-Encoding: gzip,deflate,sdch"); getRequest.Headers.Add("X-Requested-With: XMLHttpRequest"); getRequest.Method = WebRequestMethods.Http.Post; getRequest.ProtocolVersion = HttpVersion.Version11; getRequest.AllowAutoRedirect = false; getRequest.CookieContainer = new CookieContainer(); getRequest.CookieContainer.Add(cookies); getRequest.Referer = "https://squareup.com/login"; getRequest.ContentType = "application/x-www-form-urlencoded"; getRequest.KeepAlive = true; byte[] byteArray = Encoding.ASCII.GetBytes(postData); getRequest.ContentLength = byteArray.Length; Stream newStream = getRequest.GetRequestStream(); newStream.Write(byteArray, 0, byteArray.Length); newStream.Close(); HttpWebResponse getResponse = (HttpWebResponse)getRequest.GetResponse(); source = getResponse.GetResponseStream(); _Source = new StreamReader(source); pagesource = _Source.ReadToEnd(); Console.WriteLine(pagesource); Console.ReadKey(); In your proposal please submit the working code for this pilot and if successful, i would share the scope of work document for the entire project. Any proposal without the working code for pilot will be rejected immediately.

This is a pilot of the big project that i have. Contractor will be chosen based on a test We are looking for someone proficient in C# Code for the following scenario to prove that you can handle complex web based processes 1. create a dummy account on squareup.com 2. Using c#, and username and password that you created, write a block of code for logging into the site using httprequest or webclient or whatever object you want to use. 3. We are interested in seeing who can get past the authentication with successful form submission. Hint: The site uses authenticity_token in post data that changes everytime you open the squareup login page. Here is some sample code as well string geturl = &quot;<span class="obscureText" title="Login to see this URL">&nbsp;&nbsp;[obscured]&nbsp;&nbsp;</span>/login&quot;; string postData = &quot;authenticity_token=&quot; + authtoken + &quot;&amp;email=EMAIL&amp;password=PASSWORD&quot;; HttpWebRequest getRequest = (HttpWebRequest)WebRequest.Create(geturl); getRequest.UserAgent = &quot;Mozilla/5.0 (Windows NT ...

May 1, 2013

Close
  • Posted: Wed, May 01, 2013
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:
    Anywhere

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: Less than $500
  • Fixed Price Job
  • Elance Escrow Protection
  • W9 Not Required
Sign in to view client's details

This is a pilot of the big project that i have.
Contractor will be chosen based on a test

We are looking for someone proficient in C#
Code for the following scenario to prove that you can handle complex web based processes

1. create a dummy account on squareup.com
2. Using c#, and username and password that you created, write a block of code for logging into the site using httprequest or webclient or whatever object you want to use.
3. We are interested in seeing who can get past the authentication with successful form submission.

Hint: The site uses authenticity_token in post data that changes everytime you open the squareup login page.

Here is some sample code as well

string geturl = "  [obscured]  /login";
string postData = "authenticity_token=" + authtoken + "&email=EMAIL&password=PASSWORD";
HttpWebRequest getRequest = (HttpWebRequest)WebRequest.Create(geturl);
getRequest.UserAgent = "Mozilla/5.0 (Windows NT ...

Sign in or Register to see more

Desired Skills
.NET Framework, HTML, C#
Job ID: 40967275
Proposals
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

 United Kingdom  |  
Hi there, I'm Mathew, a Microsoft Certified Professional Developer who's worked on projects for major clients such as Microsoft and Oxford University.
2
  |  
 0.0   |  Private   |  0 Jobs
Bid ID: 41529565  |  Submitted: May 14, 2013 16:47 ET 
Proposal SEALED

 United States  |  
Software engineer with 15+ years of programming experience. Strengths include C#, Microsoft ASP.NET, Classic ASP, Microsoft SQL Server, Bing Maps...
1
  |  
 0.0   |  Private   |  0 Jobs
Bid ID: 41179149  |  Submitted: May 6, 2013 11:30 ET 
Proposal SEALED

Pablo Oropin, MBA      
Pablo Oropin, MBA's identity has been verified.  Learn More
 Guatemala  |  
INVITED
I'm an entrepreneur and engineer with excellent qualifications and strong desired to excel, i'm interested in aligning the IT concepts into the...
3
  |  
 4.1   |  Private   |  11 Jobs
Bid ID: 41148856  |  Submitted: May 5, 2013 18:33 ET 
Proposal SEALED

 Pakistan  |  
7+ years of extensive experience in a Professional software development environment. - Good development skills using ASP.NET, AJAX, C# and SQL...
1
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 41087301  |  Submitted: May 3, 2013 14:48 ET 
Proposal SEALED

 China
i have coded lots of mobile and projects , looking forward to working with u!
1
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 41051635  |  Submitted: May 2, 2013 19:44 ET 
Proposal SEALED

 United Kingdom  |  
International company specialized in offshore IT outsourcing projects to clientele world-wide . Developing world-class yet cost effective solutions...
5
  |  
 4.8   |  $26,963 Earnings   |  84 Jobs
Bid ID: 41032944  |  Submitted: May 2, 2013 10:48 ET 
Proposal SEALED

 China  |  
Expert Coder
1
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 41030282  |  Submitted: May 2, 2013 09:43 ET 
Proposal SEALED

Victor Angel G.      
Victor Angel G.'s identity has been verified.  Learn More
 Mexico  |  
INVITED
I have been working as developer, analyst, support, maintenance, DBA and technical lead using databases such as Oracle and SQL Server installed on...
1
  |  
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 41010422  |  Submitted: May 2, 2013 00:15 ET 
Proposal SEALED

 India  |  
C#,ASP.NET,WCF,SQL,BIZTALK,AJAX,SITECORE,SHAREPOINT
2
  |  
 0.0   |  Private   |  0 Jobs
Bid ID: 41003505  |  Submitted: May 1, 2013 19:19 ET 
Proposal SEALED

 India  |  
6+ years of ASP.NET & PHP work experience and all the related technologies. I've worked architecting and developing applications from small to...
7
  |  
 5.0   |  Private   |  12 Jobs
Bid ID: 40978617  |  Submitted: May 1, 2013 07:16 ET 
Proposal SEALED

 Portugal  |  
INVITED
I'm a seasoned Software Development Professional and Project Manager. I've been Developing Software Applications for the last 15 years, in both...
6
  |  
 4.8   |  Private   |  5 Jobs
Bid ID: 40977795  |  Submitted: May 1, 2013 06:48 ET 
Proposal SEALED

Nave      
One or more team members at  are verified.  Learn More
 Bulgaria  |  
INVITED
We are software development specialists and consultants which specializes in delivering customized services and solutions that cover all aspects of...
10
  |  
 5.0   |  Private   |  26 Jobs
Bid ID: 40976550  |  Submitted: May 1, 2013 06:02 ET 
Proposal SEALED

Verve Logic      
One or more team members at  are verified.  Learn More
 India  |  
INVITED
Verve Logic is an industry expert in converging business and technology. A veteran, who can turn your visions into success stories. We offer...
7
  |  
 4.1   |  Private   |  10 Jobs   |  1 verified credential(s)
Bid ID: 40974155  |  Submitted: May 1, 2013 04:29 ET 
Proposal SEALED
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »