Find Jobs
Hire Freelancers

Post a JSON object from a website to a Rest Web API on another website

$30-250 USD

Completed
Posted over 5 years ago

$30-250 USD

Paid on delivery
We need someone to assist us with posting a JSON object from a website [login to view URL] to a Rest Web API on another website [login to view URL] The JSON objects will consist of the data collected from the form on the Wordpress form on our site. This is the object that needs to be posted (the code below is C#): public class ApplicationForm { public string AccidentDate { get; set; } public string ClientName { get; set; } public string ClientEmail { get; set; } public string ClientPhone { get; set; } public string Injury { get; set; } public string AddressLine1 { get; set; } public string Driver { get; set; } public string ChildVictim { get; set; } public string AbleToWork { get; set; } public string CurrentComplaint { get; set; } public string AccidentDescription { get; set; } public string ClaimForDeceased { get; set; } } This is the URL that you need to post to: [login to view URL] This is an example of the JSON string that represents the object. { "AccidentDate":"15 Oct 2018", "ClientName":"Tom hanks", "ClientEmail":"Tom@[login to view URL]", "ClientPhone":"0116597874", "Injury":"Whip Lash", "AddressLine1":"No 1 The Road Randburg", "Driver":"Self","ChildVictim":"No", "AbleToWork":"Yes", "CurrentComplaint":"Stiff Neck", "AccidentDescription":"Taxi jumped the robot", "ClaimForDeceased":"No" } Below is some sample C# code that does the posting, you can use as a reference (you will be doing it in Javascript or php: private void btnPostAppForm_Click(object sender, EventArgs e) { //Create a test form ApplicationForm TestForm = new ApplicationForm(); [login to view URL] = "15 Oct 2018"; [login to view URL] = "Tom hanks"; [login to view URL] = "Tom@[login to view URL]"; [login to view URL] = "0116597874"; [login to view URL] = "Whip Lash"; [login to view URL] = "No 1 The Road Randburg"; [login to view URL] = "Self"; [login to view URL] = "No"; [login to view URL] = "Yes"; [login to view URL] = "Stiff Neck"; [login to view URL] = "Taxi jumped the robot"; [login to view URL] = "No"; //Call the posting method string Response = PostTheApplicationForm(TestForm); [login to view URL](Response); } //Posting Method public string PostTheApplicationForm(ApplicationForm form) { try { var httpWebRequest = (HttpWebRequest)[login to view URL]("[login to view URL]"); [login to view URL] = "application/json"; [login to view URL] = "POST"; string json = new JavaScriptSerializer().Serialize(form); using (var streamWriter = new StreamWriter([login to view URL]())) { [login to view URL](json); [login to view URL](); } var httpResponse = (HttpWebResponse)[login to view URL](); return [login to view URL]; } catch (Exception X) { [login to view URL]([login to view URL]()); } return ""; } You must have excellent knowledge of C# PHP and javascript to assist and preferably someone who has done this type of task before.
Project ID: 17990819

About the project

13 proposals
Remote project
Active 5 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
Awarded to:
User Avatar
hello i am kashirin in Vladivostok in Russia i can do your job perfctly in short time as you can see my profile, i am a super dev here my coding is very clear and very fast if you hire me, i will do my best for you thx
$155 USD in 3 days
4.9 (144 reviews)
7.6
7.6
13 freelancers are bidding on average $184 USD for this job
User Avatar
Hello, We are excellent at both C# and PHP. Also we know Javascript to full. We can get this task done for you. We can start immediately as well. Looking forward to serve you with excellent time bound services. Regards
$98 USD in 3 days
5.0 (249 reviews)
9.5
9.5
User Avatar
I can do rest, json, xml and web api in php and codeigniter I have two year experience in Web Development and Web Designing field My job is my passion. I love to code. The areas of my expertise in API development are: -integrate any kind of json or xml api -google api's like g analytics, g drive ,g map, gmail etc -salesforce api in php -crawling of data from different site -facebook api's -creation web services in json or xml format -fetch any response from api and many more. please contact me before placing order to discuss your project thanks
$250 USD in 3 days
5.0 (266 reviews)
7.6
7.6
User Avatar
Hi! how are you? I am interested in your project. I checked your project in detail. I can do your project asap. I want to work with you for a long time. Please contact me. Best Regards.
$35 USD in 3 days
4.9 (175 reviews)
7.4
7.4
User Avatar
Hi There I've excellent programming and development skills and knowledge. I can provide an efficient, perfect, well documented development of your Programming and Computer project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
$100 USD in 5 days
4.9 (491 reviews)
7.4
7.4
User Avatar
Hello As we checked your project discriptions and we have few questions on this project about api and design . can we sort out this questions and we will tell you final cost and time and we can start this project Thanks Vaibhav Patel
$616 USD in 3 days
5.0 (59 reviews)
5.9
5.9
User Avatar
Hello, I have genuine skills in *Angular, React JS, Node JS. *PHP MVC frameworks such as Wordpress, Laravel, Magento*. *Ruby and Ruby on Rails Don't worry about basic technologies like *HTML, HTML5, CSS, CSS3, Javascript, jQuery and Twitter Bootstrap*. Now I specialize also in * mobile development. Native and Hybrid apps.* * Image Processing, Neural Network* I am mastering *English* course and sure that you will be utilizing my professional and technical skills developed through past work experiences. Feel free to contact me anytime. Thank you a lot.
$123 USD in 3 days
4.5 (37 reviews)
5.6
5.6
User Avatar
Hi, clients! I'm a professional website designer and web developer who has 7+ years good experience. My best concern is to follow your requirement and deadline and I will do my best for the success of client's business. Feel free to send message to discuss your project with me. Thank you very much!
$155 USD in 3 days
5.0 (16 reviews)
3.7
3.7

About the client

Flag of SOUTH AFRICA
Randburg, South Africa
5.0
24
Payment method verified
Member since Apr 18, 2016

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)
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.