Find Jobs
Hire Freelancers

About 100 lines of boilerplate API code rewritten from C# to cURL

$30-250 USD

Cancelled
Posted almost 11 years ago

$30-250 USD

Paid on delivery
I have an API with sample code in C#. I would like the sample code to be rewritten in cURL and tested. -- SpyFuApiRequestBuilder Class -- This will probably be the bulk of the work. This is where the request is set up. It has 2 headers, Timestamp and Authentication. You'll want to make sure the datetime formatting is identical, otherwise the request will fail. Then on the Authentication header, it's basically a keyed HMAC where you're concatenating request elements into a string, then hashing that string with a secret key. One thing to pay attention to here is the ordering of the elements - the ordering needs to be the same, otherwise you could end up with a different hash than the server for the same request data. -- SampleRequest Class -- This class is fairly simple. All it does it use the SpyFuApiRequestBuilder class to build a request, then submits it, then verifies that it gets a reasonable result back. -- Testing Notes -- You can use the same username and secret key that are in the C# sample code. The server won't accept requests where the Timestamp is not within 15 minutes of the server time, so you should probably use the current time for each request you make while testing. Doing that should also avoid another possible little issue, which is that the server will only accept a given signature once (no repeated requests). If you just resign with a new datetime though, you should get a fresh hash that will work just fine.
Project ID: 4590288

About the project

3 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $218 USD for this job
User Avatar
I am an expert in C# and php curl and I can deliver the project
$236 USD in 5 days
4.9 (35 reviews)
6.4
6.4
User Avatar
We can convert this C# code to cURL for you. Check the message and contact us. SI Team.
$200 USD in 2 days
5.0 (9 reviews)
6.0
6.0
User Avatar
Lets Start
$263 USD in 3 days
5.0 (2 reviews)
3.8
3.8
User Avatar
I have experience with your project requirements , check pm.
$154 USD in 3 days
5.0 (2 reviews)
3.1
3.1

About the client

Flag of UNITED STATES
Phoenix, United States
5.0
7
Payment method verified
Member since Jan 16, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.