En curso

ajax post string to c#

I have:

var param = escape(param);

$.ajax({

type: "POST",

url: "/api/Grammar/GetCorrection/1",

async: false,

data: param,

contentType: "application/json",

success: function (response) {

}

});

[HttpPost]

public string GetCorrection([FromBody]string text,string id)

{

}

rhe problem is var text is null

Habilidades: .NET, AJAX, Programación en C#, Javascript, Arquitectura de software

Ver más: ajax post string to controller, jquery with ajax in c# corner, mvc ajax post, ajax post c#, c# ajax get, how to post data using ajax in mvc, jquery ajax post data null, ajax c# example, ftp application problem, ajax php mysql address book application, post flash game facebook application, vb6 application problem vista, post facebook profile cakephp application, ajax search string datebase, post wall users facebook application, form post iframe application problem facebook, post comment facebook web application php, post method j2me web application, ajax search string, post message facebook net application

Información del empleador:
( 11 comentarios ) geneve, Belgium

Nº del proyecto: #18006376

Adjudicado a:

haiplk

I have 6 year handon on .net and its easy to me. The reason are api not accept data from body with that syntax

€14 EUR en 1 día
(0 comentarios)
0.0

9 freelancers están ofertando el promedio de €19 para este trabajo

mehta2010

Hi, I understand your problem in failing to get the variable value on httppost. I have prior experience of working over WEBAPI/Web services (GET/PUT/POST/PATCH). I can begin rite away. Work Samples: I have wor Más

€19 EUR en 1 día
(60 comentarios)
6.7
kmpal

Hi, I am a developer with vast experience in .NET, MVC, SQL, Java/TypeScript, Angular, PHP available for this project. I am full time freelancer available throughout the day. Best regards Note: This is not an Más

€23 EUR en 1 día
(52 comentarios)
6.2
psubramonian

Waiting for your reply. My Portfolio: =========== - iSmartTax : [login to view URL] - Samsung extremo : [login to view URL] - Insider TV : [login to view URL] - Hewittstone - staff & selec Más

€30 EUR en 0 días
(46 comentarios)
5.7
nicrosoft

Respected Employer, I am Asp.Net c# web and database developer having competitive expertise and experience in Web development, database development and database management. I have read your requirements carefully Más

€8 EUR en 1 día
(19 comentarios)
4.7
swamyvaditya

Hi, I can debug the AJAX call to the API method, find out why the method parameter,string text, is empty and fix the error. I'm a full-stack developer specializing in .Net technology stack. Please let me kno Más

€30 EUR en 1 día
(9 comentarios)
4.5
Firstwebdevelop

Hi there, Greeting of the day!! Thanks for providing bidding opportunity in your project. I read your project description carefully. We can solved this problem. We are working for a long time on .NET and also de Más

€12 EUR en 1 día
(2 comentarios)
2.7
stephanchebyshe6

I can complete your project on time and within your budget. I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. I can achieve the results that you are a Más

€8 EUR en 0 días
(4 comentarios)
1.6
vjrd

Dear sir, I have experience around 3+ year in. Net. Windows and Web based both are working. I am Recently done a lebel printing software through freelancer. I am new to freelancer so don't hesitate to give a project. I Más

€25 EUR en 1 día
(0 comentarios)
0.0