Quantcast
Channel: Web API
Browsing all 4850 articles
Browse latest View live

How to choice witch to connect if have Multiple instance of same WebAPI

Dear Sirs.I have multiple instance of the same WebAPI Service.How to choice for client application witch is better to connect ?What is best approach ?thank you in advance.

View Article


Web API with multiple parameters which can be null

Hi,I have a Web API which accepts 3 string parameters and all of them can be null. Please see below: [HttpGet] public IEnumerable<proc_GetStudents_Result> Get(string id, string surnam, string...

View Article


Retrieving more then one object with values from Db in asp.net webapi

Hello I am learning asp.net webapi and trying to get values for different object.I have a function called SELECT * FROM test.get_accounts_info('CS-01')which returns 5 columns.- account_number [value-...

View Article

How do I get Postman to call my Web API?

Hello,I'm just wondering how I would get Postman, the plugin for Chrome that allows you to test web requests, to call my web API.Current, I'm using this AJAX call written in Javascript:alert("Getting...

View Article

Generic access to WebAPI components

Hi,I have been wondering recently about whether there is any support (MS or Open Source) for enabling us to be able to test REST service based systems without needing to run servers.What I'm thinking...

View Article


External Login using Web API giving Invalid response for Preflight request

Hi,I'm building a website with Angular for frontend and Asp.Net Web API for the backend. I'm trying to include external login for Google on the site. The steps that I follow are:From javascript code, I...

View Article

conflict between state server serializable requirement and newtosoftn...

We have a serializable prop specified for a class in order to be able to store the class object in a session variable with the session mode set to State Server.  However, when we try to use the...

View Article

calling HTTPClient from a web application

On ASP.Net WebAPI site there is a sample code that demonstrates invoking a WebAPI using HTTPClient from a console app (link provided below).  The document also cautions that HTTPClient can be...

View Article


ASP.Net Web API as RESTful SOA

Does Microsoft intend to gear the ASP.Net Web API towards the SOA community? Is it a viable solution for building an internal Restful SOA Platform?

View Article


Protect externally accessible web API Calls

Hello every one, We are working on an application where the UI is in HTML, JavaScript, Angular JS, Kendo UI and Bootstrap. The back end is in Web API. After deploying the application in our DMZ server,...

View Article

Problem calling web api

hi,I have controllernamespace MyServer.Controllers { public class Status1 : ApiController { // GET api/<controller> [HttpGet] public IEnumerable<string> Get() { return new string[] {...

View Article

How to post parameter from body [FromBody] and retrive objects in a in WebAPI?

How to post parameter to a body and get the object in a list.Now i am able to retrieve the data using this post method in my controller with parameter appended to the URIAccounts Controller [HttpPost]...

View Article

How to resolve table foreign key referencing in web api

Hello This my code where iam getting CountryList from this method but it is throwing error in POSTMAN....My table tblCountry has foreign key relation with State and customer registration....After...

View Article


Perl & Web API

Can a Perl Script do GET and POST to Web API?

View Article

how to call a REST GET method with parameters having special characters??

Hi,I am new to RESTFUL services. <div class="WordSection1">How to call a rest get method with parameters having special characters??Thanks in advanceRamki</div>

View Article


Deploying web API changes NETWORK SERVICE permissions

Hello,Every time I deploy my web API from Visual Studio 2015 to my Windows Server 2016 machine, and changes the permissions of the NETWORK SERVICE from read/write to read only. I have to manually go...

View Article

How to send a success/failure message in json in web api?

How to send a success/failure response in json after execution of the webapi action?I have a function called FundTransfer, how to implement it like the output: given belowFundTransfer(string...

View Article


Sending a file through Web API

I have a mobile application that needs to retrieve a physical XML file. Is it possible to do using web API ? Thank you.

View Article

Why we use web api restful service even we have wcf restful service?

Dear All,Please give me some core difference on behalf we use web api restful service instead ofwcf restful service and vice versa. Thanks and Best Regards, Farhat Ullah

View Article

Json dates convert to local (GMT) time

I am working on an angular/ionic app and using webapi.The app uses the "input type=date" to open the calendar on the device to select the date, the date when I create a new Date().toJSON() =...

View Article
Browsing all 4850 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>