SendGrid API Bounce List
Hello friends.I am trying to figure out how to process a list of bounces from SendGrid. I can get the data which appears to be JSON into the variable test, but how can I process this? It doesn't look...
View ArticleLength Required Error
IIS is version 6.1. I deployed web api 2 into IIS. I used advanced rest client to access web api. In advanced rest client, I put these headers: Content-Length: 0 Content-Type: application/json I got...
View ArticleProblem with encoded parameters
Could someone Please help. I am trying to understand how to create a safe url by escaping characters.I have created an API that accepts the following string - SendEmailWithAttachment(string to,...
View Articlegetting json data from cloud services
Some cloud services can send me json data if you give one url (my url of web site). This cloud services can send me via http push notification some json data. My question is simple.What i must do...
View Articleserialization related question
Hi,I have created sample Web API 2.2 with outh 2.1 and i have decorated my class with [DataContract] attribute and properties inside the class with [DataMember] attribute. is this enough to say that i...
View Articlepost 3 level json complex C# object to postasjsonasync
hi, i've a students class, which is of the form request format: students: [{"studentid" : "1234","researchid" : "5689","courses ": [{ "courseName" : "os","professorName": "donchi lee"},{"courseName" :...
View ArticleHow to Create Listview in salesforce using REST API or SOQL or any other way...
Hi All,Please help me to create listview in salesforce using rest API or SOQL or any other way from c# application.
View ArticleSimple HTTP error message to API client
HiI want to make a very very simple Unauthorized 401 error back to my API client from my WEB API but I simply cannot figure it out.I am getting error messages whatever I try and I have googled for some...
View ArticleWeb API code for processing a POST request
What is the server-side code required to process the following web api POST request? Private Function Authorise(authdata As authdata) As String Dim authtoken As String Dim payload As String = New...
View ArticleWebApi.HelpPage Error
Hello colleagues! I using nuget package Microsoft.AspNet.WebApi.HelpPage (5.2.3). I was faced with problem.For example you can use sample:using System; using System.Collections.Generic; using...
View ArticleGetting a Web Exception when I return a HttpResponseMessage
Getting a 404 not found Web Exception when I return a HttpResponseMessage during a call to a WEB API. What should be happening is I should receive a HTTPWebResponse.WEB API code (returned "Unknown...
View Articlehow to return a fail response for a web api
Totally dumb question I know, but how to return a fail response (response.statuscode set to fail) for a web api. Days of looking have not found an answer. Dim response As HttpWebResponse Try response =...
View ArticleIs there an example of a Visual Studio 2010 project with ASP.NET MVC4,...
I am trying to build a web application in Visual Studio 2010 with AngularJS and a REST service, but without success. Is there somewhere a working example of a simple project? I would like to have the...
View ArticleCancelling a Long Running Task Delay in Web API
I am trying to cancel a async delay task (Task.Delay) that was created by a web api request, with an another web api request that issues cancel. It does not look like it cancelled the timer for...
View ArticleHow to Genrate XMl Formated Data for return in web service
Hello,I have an issue to select and data to see element and return it back to be consumed in web service. bellow is the format to return the data.<CustomerInformationResponse>...
View ArticleExtracting data from a JSON array
Hi folks, I need some guidance here, my code works ok until I try to map the front tyre width to a label!!How do you access the JSON array code below?Class public class DVLA { public...
View ArticleYoutube Video Data API and MVC Razor Coding checkpoint ---
Hello to All. Basically here is my scenario - I am trying to show videos from a youtube channel in an mvc application of mine. I have created the project in the api manager console, procured the key,...
View ArticleHow to take instant photo from web cam and save it in our application
hi I am developing a asp.net application to allow the user to take instant photo and save it in the application.if any one have an idea give suggestion
View ArticleGetting Invalid Service call error when Web Service run from POSTMAN chrome...
Hi,I have created following Web Method:[WebMethod] [ScriptMethod(UseHttpGet = false, ResponseFormat = ResponseFormat.Json)] public string PostData(Class1 param) { //Class1 param= new Class1();...
View ArticleCompressed JSON
I am just wondering how could I compress/decompress Web API request/responses.Thank you
View Article