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

How to parse Json result from web services?

Hi,I got following...

View Article


Autocomplete

I have a textbox in a partial view in my MVC site. I have a WebApi for ajax requests and the site to use. My concern is... anyone can view source and see what url is available to retrieve information....

View Article


Web API: Post & Byte Arrays

I have some code that looks like this:Role role = newRole();role.Name ="MyName";role.Password =newbyte[] {0x67, 0x90, 0x74};response = client.PostAsJsonAsync("role", role).Result;When executing this...

View Article

Why is my Web API REST method not being called?

I created a second "GET" method in my Repository, with two arguments, and yet it is not getting called; the generic method that only takes one argument, and returns all the records, is called. Why? How...

View Article

How to secure web api call

i have a web site where all web api related files are stored in a folder in same web site. i will call web api function by jquery. now if some one see my jquery js code then he can also call my web api...

View Article


Extending web api user with custom fields

well I have a web api 2 application. On create I've selected "Individual User Accounts".  When I create MVC Web Application I have ApplicationUser created, and I can use it to extend with custom...

View Article

how to pass dynamic parameter to method ?

Hi,i am creating an method in WCFCompany(string Email,string Password,string Query)user can pass in query/* here are some variable which have to need to pass a query         * CompanyName         *...

View Article

Image may be NSFW.
Clik here to view.

How to get the value in Web Api ( which is in Raw field of Fiddler)

Hi,Usually i was getting the values which are in JSON field of Fiddler. But in some case i got the value in RAW field of Fiddler.I tried with [FromBody], dynamic, etc. but all are giving null...

View Article


Http method ( PROPFIND, OPTION, LOCK)

helloin my log file (web farm) i see the following record2013-12-03 08:25:37 W3SVC99454396 HUKLONSOV022B 217.194.210.198 PROPFIND /uploadedforms/8130301847364476806.doc - 80 - 212.247.140.231 HTTP/1.1...

View Article


How to call a web service api

I have a web api which is a web service like a url www.abc.com/webservice.php. I want to call this url in my .net code by passing parameter in url (ex...

View Article

AttributeRouting in WebAPI 2 and MVC 5

I have an MVC 5 site in which I created an Api area for WebAPI rest calls. In this Api area I have a products controller that should serve the following requests:GET /api/products/count - number of...

View Article

Consume WEB API Mvc

Helloi am a new to MVC and web api ,i Have a simple question :I need to build a tester that will simuate user .The weeb app is build with MVC4 API ,i want to build a winform aplication that wil consume...

View Article

Web API 2: Losing principal in ApiController.User

I'm upgrading a Web API project to Web API 2 and I'm running into an odd problem. I have a MessageHandler which overrides SendAsync to check an HTTP header and construct a custom ClaimsPrincipal, which...

View Article


concatenate url

I have 2 text boxes and 3 dropdowns .I have to concatenate value of these fields along with an api url in javascript using sql proc

View Article

Web API 4.5 with Azure AD Role Management

Hello,I have just built a brand new web api 4.5 application with organizational account set for my Azure Active Directory.First, I would like to know how can I retrieve the unique id, key or whatever...

View Article


Authentication token issue in web service call (.asmx)

Hi AllI have third party web service (.asmx) url , which i am going to consume in simple asp.net web applicationi have added service reference of this service and calling its method but it is asking...

View Article

Use php api from asp.net

Hi,I am creating an asp page that will consume a  php api.The php api requires multiple parameters that will be gathered from POST method and will be coming from the asp.net page.Any help or...

View Article


sending image to web api

Can anyone explain how to send and read image in Jquery and web api

View Article

Web API OData query pass to underlaying layers

Hi All,Thanks to all. Could you please help me to provide some directions to my problem:problem: i have Web API OData supported REST services are there. It is working fine but, when i query for large...

View Article

datetime parameter

hello, public IEnumerable<database_WICs> GetDate(DateTime? start, DateTime? end) { var data = from c in db.database_WICs where c.UploadDate == start && c.UploadDate== end select c; return...

View Article
Browsing all 4850 articles
Browse latest View live


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