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

external authentication from postman

net 4.5.2 webapi from mobile external authentication.hello,how can i authenticate user via postman with google?so: from google i got the access token and public "person" info..but now i need to...

View Article


many webapis instead one webapi to offload website

Hello all!Is it necessary to create many webapis with one method per api instead one webapi with many methods that potentially could be unresponsive in some time-slices? And when I need to duplicate...

View Article


Multiple databases for authenticating web api2

Hello,I have built a web api and using token based authentication for authenticating user. Till now the users where in the one database and we are going to use different second database for...

View Article

Need help on Rest calls

Hello All,I am having issues on how I can have multiple gets in my restful class, and how to call them.I am guessing this would be a routing issue, but I don't know how to setup my routing or how I...

View Article

Consuming webapi

Hi All,I have an endpoint as below for an web apihttps://transflowpay.com/vpova/api/v1/balanceHow can i consume it into a webforms application using c#.Sample code would be much appreciated .Thanks

View Article


Delete uploaded data if browser closed or cancel upload

Hello,I'm implementing upload files using multiparts (chunk by chunk data). here is my code: public class UploadTrackController : ApiController { [HttpPost] [Route("")] public async...

View Article

Require an XML request object to have a value type

In Web API, is it possible to force an XML request object to have a value type?[Required] doesn't work on value types.I have tried the following attributes on the property itself with no luck. Is there...

View Article

Remove duplicates from Json

Hi every one I create a json by Newtonsoft and it return some duplicates  property! i think can remove by group by, but can't do it! this is my code(Result2,Result3 are List)string aa = new...

View Article


System.Net.WebException: The remote server returned an error: (404) Not Found.

Hi Al, Can't get pass the httpResponse.Any idea what I could be missing//Configure URI WebRequest request = WebRequest.Create(@"https://xxxx.xxxx.com/v1/operators/" + queryParameter); //Add Content...

View Article


null in api param

hello,net 4.5.2 webapiI keep on getting NULL in api method parameter. // POST: api/TimeRolls/SaveNewTimeRolls [Authorize , HttpPost , Route("api/TimeRolls/SaveNewTimeRolls")...

View Article

Best WebAPI books

Hello all!Please, recommend to me good WebAPI books.Thank you.

View Article

MVC 4.0 Visual Studio 2010 controller template using GetValues() instead of...

Hi,I'm just starting to learn about web api.  I'm using Visual Studio 2010 with MVC 4.0 web application template in VB.  I selected theWeb Api option when creating my test application.The controller...

View Article

read ID3 tags with out uploading complete audio file

Hello,i'm uploading audio file using multiparts(chunk) using web api. and seems everything OK. but i have another requirement that  i have to show ID3 tags like(title, album, image, ect....) before...

View Article


how to send to webapi an array of objects

Hello, Ia m trying to send to a webApi an array of objects. From what I read on internet that can be achieved using the tags [fromUri], [frombody]. But my tests are anything but succesfull, there are...

View Article

How to secure web api for public use

we can develop a web so all user has to send their credentials and get the token if user is valid from server side. so the validated user will send token for all subsequent call.1) we are using ssl...

View Article


Why people prefer token based auth instead of form based auth in web api

when we work with asp.net webform then people used form auth and i guess the same form auth we can use for web api too but people prefer token based auth in web api. so tell me what are the pitfalls a...

View Article

web api token based auth with winform client

i need a good code example and article which show how windows form client can consume web api and send credentials for getting token. i like to see how windows form client can hold token for next...

View Article


How to consume and call web api by jquery code

i need a good code example and article which show how jquery code can call web api and send credentials for getting token. i like to see how jquery code can hold token for next subsequent call.please...

View Article

Web Api - httppost - The requested resource does not support http method Get

{"Message":"The requested resource does not support http method 'GET'."}I get a "The Requested resource does not support http method 'Get'."  when I move this to my production server running IIS8 but...

View Article

Error 404 webapi hosted Azure

Hello,I'm having a problem with my app after publish It. An message say: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." and the status code is...

View Article
Browsing all 4850 articles
Browse latest View live


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