Suoritettu

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

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.

Taidot: C# -ohjelmointi, HTML, Javascript, PHP, WordPress

Näytä lisää: maps api website, using facebook api website, rest api website, post json data to rest service in java, rest api post example, rest api, web api post json c#, web api post json frombody, postman, web api post json example, web api post json string, create php website picasa web api, picasa web albums website api, rest web service json, wcf rest web service json, rest javascript post json, php web api json, wcf rest post json ios, web api json php, rest web api sample python

Tietoa työnantajasta:
( 15 arvostelua ) Randburg, South Africa

Projektin tunnus: #17990819

Myönnetty käyttäjälle:

bengalTIGER1106

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 yo Lisää

$155 USD 3 päivässä
(61 Arvostelua)
6.2

17 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

jatindhoot

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 servi Lisää

$98 USD 3 päivässä
(228 arvostelua)
9.3
sapotacorp

Dear laurenstilwell. I check [login to view URL], [login to view URL] carefully and I am absolutely sure that I can do the project very well I'm #1 WordPress Vietn Lisää

$218 USD 6 päivässä
(1034 arvostelua)
8.7
karimmughal1

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 a Lisää

$250 USD 3 päivässä
(212 arvostelua)
7.3
Gates777

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 3 päivässä
(126 arvostelua)
7.0
BaNgan

Hi, Since the backend api require POST data as JSON object, so I suggest using jQuery/javascript as below: - Serialize the form data, by iterating form elements and get their data - Prepare the object as mentioned, Lisää

$122 USD 3 päivässä
(245 arvostelua)
7.0
urmate

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 re Lisää

$100 USD 5 päivässä
(245 arvostelua)
6.6
patelvaibhav1997

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 Lisää

$616 USD 3 päivässä
(48 arvostelua)
5.6
justdotweaks

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 Lisää

$123 USD 3 päivässä
(32 arvostelua)
5.4
navneetsoni

Hello, My work experience as shown in my profile have helped me develop mastery in Website design & development. As proof, I got positive feedback from my previous employers. Please have a look of my recent work. Lisää

$111 USD 3 päivässä
(11 arvostelua)
3.7
devbaloni1983

Dear Hiring Manager, I'm a Web Developer with 10+ experiences in software development and I'm very interested in your job post. I have very good experience in SQL server. I have good experience [login to view URL], MVC, Angular(1, Lisää

$111 USD 3 päivässä
(5 arvostelua)
3.6
kbizsoft

Hi sir! Greetings of the day!! I came to know that you need someone to assist you with posting a JSON object from a website. I am applying only because I meet all the requirements that you are looking for.I am Lisää

$333 USD 3 päivässä
(10 arvostelua)
4.1
mingqiao

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 busin Lisää

$155 USD 3 päivässä
(13 arvostelua)
3.5
itking1234

Hi, there! This is good job which is perfect matched with my skills. I've experience to build Shopping Mall site with ASP.NET (It's based on C#.) And then, you can see I mastered PHP and Wordpress. So I'm sur Lisää

$150 USD 3 päivässä
(8 arvostelua)
3.1
ganeshrasekar

I can do it .............................................................................................................................................................................................................. Lisää

$155 USD 3 päivässä
(4 arvostelua)
3.2
$88 USD 1 päivässä
(6 arvostelua)
2.8
ber2309

posting a JSON object from a website [login to view URL] to a Rest Web API on another website [login to view URL] ========================== After looki Lisää

$222 USD 3 päivässä
(0 arvostelua)
0.0