En cours

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

Compétences : .NET, AJAX, Programmation C#, JavaScript, Architecture Logicielle

En voir plus : 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

Concernant l'employeur :
( 14 commentaires ) geneve, Belgium

Nº du projet : #18006376

Décerné à:

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

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% EUR en 1 jour
(0 Commentaires)
0.0

7 freelances font une offre moyenne de 22 € pour ce travail

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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(70 Commentaires)
7.0
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(59 Commentaires)
6.3
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 0 jours
(49 Commentaires)
5.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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(11 Commentaires)
4.6
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(2 Commentaires)
2.7
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(0 Commentaires)
0.0