tagged [api]

GraphQL readiness for .net development

GraphQL readiness for .net development I found GraphQL as an enticing option to decouple front-end development from APIs (potentially a great fit for our company, which does lots of API customization ...

14 Sep at 02:38

OAuth2 and Google API: access token expiration time?

OAuth2 and Google API: access token expiration time? We have a standalone Java application (see ["Installed application"](https://developers.google.com/identity/protocols/OAuth2#installed)) which runs...

How do I get currency exchange rates via an API such as Google Finance?

How do I get currency exchange rates via an API such as Google Finance? Now, I did find the [Google Finance API](http://code.google.com/apis/finance/) and started looking through that but I found a lo...

27 Feb at 20:12

WebApi attribute routing - Bind route parameter to an object for GETs

WebApi attribute routing - Bind route parameter to an object for GETs Currently for every GET I have to manually create a query object from the route parameters. Is it possible to bind directly to a q...

How to use Google Translate API in my Java application?

How to use Google Translate API in my Java application? If I pass a string (either in English or Arabic) as an input to the [Google Translate API](https://developers.google.com/translate/?hl=de), it s...

29 Aug at 09:46

Client is unauthorized to retrieve access tokens using this method Gmail API C#

Client is unauthorized to retrieve access tokens using this method Gmail API C# I am getting the following error when i tried to authorize gmail api using service account > "Client is unauthorized to ...

POSTing JsonObject With HttpClient From Web API

POSTing JsonObject With HttpClient From Web API I'm trying to POST a `JsonObject` using `HttpClient` from Web API. I'm not quite sure how to go about this and can't find much in the way of sample code...

Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application

Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application I am trying to get my friend name and ids with Graph API v2.0, but data returns empty: When I was usin...

Route parameter with slash "/" in URL

Route parameter with slash "/" in URL I know you can apply a wildcard in the route attribute to allow `/` such as date input for example: The problem with wildcard is only applicable to the last param...

Attribute Routing and CreatedAtRoute

Attribute Routing and CreatedAtRoute I am trying to convert my Web Api project to use attribute routing. One thing I am not understanding is the CreatedAtRoute method for a POST request. In my WebApiC...

Google Drive API using C# - Uploading

Google Drive API using C# - Uploading I am trying to use Google Drive API from an asp.net application to upload files. Problem: The code works locally but when uploaded to server nothing happens (the ...

Web API model binding

Web API model binding Given the ASP.NET Web API route: Which maps to the following ApiController action method: With the model class defined as: When I post JSON `{ "Name": "Testing" }` to the URL `/e...

19 Feb at 06:9

Free Barcode API for .NET

Free Barcode API for .NET Is there a decent free API/component for printing barcodes in C#?

28 Jul at 14:59

Replacement for Url.Link when using attribute routing

Replacement for Url.Link when using attribute routing I have upgraded my project from webapi to webapi2 and are now using attribute routing. I had a method where I used Url helper to get url. Which is...

How do I use ASP.NET Web API Attribute Routing with a complex object parameter?

How do I use ASP.NET Web API Attribute Routing with a complex object parameter? I have a Web API action that looks like the following: where the Query class has a public string property named `QueryTe...

How to generate JSON Postman Collections from a WebApi2 project using WebApi HelpPages that are suitable for import

How to generate JSON Postman Collections from a WebApi2 project using WebApi HelpPages that are suitable for import [Postman](http://www.getpostman.com) is a tool that can be used to easily test restf...

+ (plus) sign in Web API routing

+ (plus) sign in Web API routing I'm working with an asp.net web api project, and I have to pass an mobile number through a post. But i cannot return a plus sign. my route: controller: ``` public Htt

How to set the content-type of request header when using Fetch APi

How to set the content-type of request header when using Fetch APi I am using npm 'isomorphic-fetch' to send requests. The problem I am experiencing is I am unable to set the content-type of the reque...

How to do dependency injection to Action Filter on ASP.NET Web API

How to do dependency injection to Action Filter on ASP.NET Web API I really get stuck on the approach to do dependency injection into action filter of web api. I have an action filter like this: ``` p...

.NET API for HID (USB)?

.NET API for HID (USB)? Is there an API in .NET (C#) for using USB HID (human interface) devices?

5 May at 13:26

Retrieving Android API version programmatically

Retrieving Android API version programmatically Is there any way to get the API version that the phone is currently running?

15 May at 18:36

Post parameter is always null

Post parameter is always null Since upgrading to RC for WebAPI I'm having some real odd issue when calling POST on my WebAPI. I've even gone back to the basic version generated on new project. So: and...

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery?

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery? I got this error in have used Google Translate API, But I don't know how t...

How to create Task using Google Calendar API

How to create Task using Google Calendar API I want to using Google Calendar API.Using C#. Looking for some sample codes.

10 Dec at 07:32

Upload file to Google Drive with C#

Upload file to Google Drive with C# How can I upload a file to google drive, with given mail address, using C#?

22 Feb at 17:8