I have a Post method in an ApiController that accepts json using the [FromBody] and then transforms/appends to it. I need the response from the http POST to return that json back to the javascript client that is calling it. The Post method in the ApiController is a void. How can I return string/json to the client?
How can a ApiController Post return a response?
860 Views Asked by Roger At
0
There are 0 best solutions below
Related Questions in HTTP-POST
- Ajax.beginForm() cannot get post value
- Python: post files using httplib2
- Spring @RequestPart multipart/mixed Object errors
- Failed to add a node to spatial layer with https post request in Neo4j php
- angularjs post error -405 (Method Not Allowed)
- Ionic app data from html to php server
- How to clear cache only for specific services in android programatically
- error while sendin http PUt to creat a new page in xwiki with REST api
- Sending http post request to php with many data using angular
- Watson Content Analytics: How to make web crawler plug-in to get data, sending POST request?
- Android: how to HTTP post this?
- Http Post with duplicate name values MVC
- how to post objects from angular to a webapi controller
- Where does user registration data get stored with node.js
- MVC - Ajax.BeginForm() generating empty action
Related Questions in ASP.NET-WEB-API2
- Web API 2 requires trailing slash for custom attribute routing to work
- File upload web api 2.0 error after deployment on IIS 8.5
- Creating Odata Web API application without Entity Framework
- Unit testing ASP.NET Web API 2 Controller which returns custom result
- Web API Returning a 405. Shouldn't it be a 404?
- OleDb Parameter Into OleDbCommand Not Passing into Query
- Intercept object arrives Controller
- 403 Access denied for DELETE Request .Net Web Api Rest Service on Azure
- Real time tracking WebAPi for Google Map with Ap.net WebAPI
- Leverage MultipleApiVersions in Swagger with attribute versioning
- ASP.NET Web API: JSON Serializing Circular References
- How mark a .NET Web API Regex Route Parameter as optional
- WEB API httpException is not caught
- Can I receive a JavaScript Object on an API WITHOUT a Corresponding C# Object?
- What is the best way to notify api clients of null-valued properties of returned JSON object?
Related Questions in ASP.NET-APICONTROLLER
- .NET MVC controllers and API controllers in the same project
- ASP.NET API Controller method custom route - Include current URL
- How to parse a PartialView and return a Html string from ApiController?
- How can a ApiController Post return a response?
- need route for my web api 2 controller
- C# EF API Controller Not Loading Many to Many Array
- Adding security to RESTful API
- .ToList on IQueryable causes NullReferenceException when executed in background
- Error using MvxMultiPartFormRestRequest to post image/data to API controller
- MVC instrumentation & WebApi attribute routing for Sitecore 7.5
- Resolving from Castle Windsor container in an API controller
- Access Client certificate in ApiController hosted in Azure Worker Role
- AngularJS Post data to WebAPI using $resource
- How to pass image from Angular(2/4) to in ASP.NET Core WebAPI server folder
- Cost of using multiple filter attributes on an action method
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?