Related
Paul B I'm trying to call a Web API from an MVC POST action method and receive the result, but not sure how, for example: [HttpPost]
public ActionResult Submit(Model m)
{
// Get the posted form values and add to list using model binding
Gabriel G.Roy Is there a way to trigger a call to an external web API Httpin my own web API without having to wait for the result? I'm in a situation where I don't really care if the call is successful and don't need the result of that query. I'm currently doi
Space Cowboy 74 I'm going crazy with datetime issues and networking. I host a web server in the central time zone. When a customer in the Eastern time zone tries to schedule an item for a given date using my app, they pass in a value of (for example) March 14,
PNR Is it possible to make a web api call another web api? I am using the code below to access the web api from my web api but it never returns from the call. If I use the code from the console app it works fine. public void DoStuff(){
RunAsync().Wait();
}
sarabiani I have a WebAPI controller in my MVC5 project solution. WebAPI has a method to return all files in a specific folder as a Json list: [{"name":"file1.zip", "path":"c:\\"}, {...}] I want to call this method from my HomeController, convert the Json resp
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
Sam I'm trying to read my employee list from a Web API call and I'm getting an error. using (var client = new HttpClient())
{
client.BaseAddress = new Uri("http://myApiUrl");
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Ac
Paul B I'm trying to call a Web API from an MVC POST action method and receive the result, but not sure how, for example: [HttpPost]
public ActionResult Submit(Model m)
{
// Get the posted form values and add to list using model binding
Martin Hoban I have an MVC Web API application running in VS 2012. It connects to a SQL Server database with some data. I want to output this data to a textview on my android app, but I can't find any good tutorials that can do this. It would be greatly apprec
sarabiani I have a WebAPI controller in my MVC5 project solution. WebAPI has a method to return all files in a specific folder as a Json list: [{"name":"file1.zip", "path":"c:\\"}, {...}] I want to call this method from my HomeController, convert the Json resp
Gabriel G.Roy Is there a way to trigger a call to an external web API Httpin my own web API without having to wait for the result? I'm in a situation where I don't really care if the call is successful and don't need the result of that query. I'm currently doi
PNR Is it possible to make a web api call another web api? I am using the code below to access the web api from my web api but it never returns from the call. If I use the code from the console app it works fine. public void DoStuff(){
RunAsync().Wait();
}
Paul B I'm trying to call a Web API from an MVC POST action method and receive the result, but not sure how, for example: [HttpPost]
public ActionResult Submit(Model m)
{
// Get the posted form values and add to list using model binding
PNR Is it possible to make a web api call another web api? I am using the code below to access the web api from my web api but it never returns from the call. If I use the code from the console app it works fine. public void DoStuff(){
RunAsync().Wait();
}
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
Paul B I'm trying to call a Web API from an MVC POST action method and receive the result, but not sure how, for example: [HttpPost]
public ActionResult Submit(Model m)
{
// Get the posted form values and add to list using model binding
Gabriel G.Roy Is there a way to trigger a call to an external web API Httpin my own web API without having to wait for the result? I'm in a situation where I don't really care if the call is successful and don't need the result of that query. I'm currently doi
PNR Is it possible to make a web api call another web api? I am using the code below to access the web api from my web api but it never returns from the call. If I use the code from the console app it works fine. public void DoStuff(){
RunAsync().Wait();
}
Jay Pandya I need to make an api call when a button is clicked. So I do it the following way. btn.setOnClickListener(new View.OnClickListener()
{
@Override
public void onClick(View
Vans Fannel I have a Windows service with a Web API interface. I use this service to upload data from one system to another. My problem is that the other system (where I have to upload the data) is a web api service and I'm not sure if it's a good idea to make
Somad I am new to JSON and Web API. I have created a service called AdminService which has a get method. See the get method below: [Route("{iUserId:long}/{iSegmentId:long}/GetUserSegmentItemBySegmentIdAndUserId")]
public IEnumerable<spADGetUserSegmentI
PNR Is it possible to make a web api call another web api? I am using the code below to access the web api from my web api but it never returns from the call. If I use the code from the console app it works fine. public void DoStuff(){
RunAsync().Wait();
}
Gabriel G.Roy Is there a way to trigger a call to an external web API Httpin my own web API without having to wait for the result? I'm in a situation where I don't really care if the call is successful and don't need the result of that query. I'm currently doi
Paul B I'm trying to call a Web API from an MVC POST action method and receive the result, but not sure how, for example: [HttpPost]
public ActionResult Submit(Model m)
{
// Get the posted form values and add to list using model binding
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
vulgar binary Given a controller Proxyand an action GetInformation. I want to be able to call the method GetInformationin the Userscontroller. Both WebAPI controllers are in the same project, but call directly like var controller = new UsersController();
retur
Jay Pandya I need to make an api call when a button is clicked. So I do it the following way. btn.setOnClickListener(new View.OnClickListener()
{
@Override
public void onClick(View