TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
René Brice
NA
16
3.6k
Ajax post allways sends null parameter to web api controller
Mar 6 2016 7:32 AM
I use ajax call from mobile site to get and send data to a web api service. The get calls work fine but I can't make a post . In the web api controller, the parameter is allways null. The ajax post properties are : accept: 'text/json',
dataType : 'text'
contentType : 'text/json'
crossDomain : true
data: JSON.stringify(myObject)
I try to pass a primitive parameter to the controller, the result is the same, no data sent
Environment : Visual Studio 2015 with Apache Cordova
Help Please
Reply
Answers (
2
)
New to Mobile Development Need suggestions
Bootstrap datetimepicker don't work with readonly