Click here to Skip to main content
15,885,141 members
Everything / REST

REST

REST

Great Reads

by Evoluteur
Generic REST or GraphQL endpoints for CRUD and more, written in JavaScript, using Node.js, Express, and PostgreSQL
by lusgon
Uploading a file using WCF REST API and JavaScript
by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
by Michael Chourdakis
Quicky generate text and images

Latest Articles

by honey the codewitch
Generate a web browsable interface to your archived TV show content
by Pete O'Hanlon
Easy way to test HttpClient with Goldlight.HttpClientTestSupport
by Peng Qiu
In this article, we will talk about what web security related configuration parameters help protect the transfer data in the REST API and how to configure them.
by Michael Chourdakis
Quicky generate text and images

All Articles

Sort by Score

REST 

11 May 2022 by Evoluteur
Generic REST or GraphQL endpoints for CRUD and more, written in JavaScript, using Node.js, Express, and PostgreSQL
28 Jul 2014 by lusgon
Uploading a file using WCF REST API and JavaScript
4 Jun 2020 by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
2 Mar 2023 by Michael Chourdakis
Quicky generate text and images
22 Oct 2014 by Mathew Soji
This tip guides through implementing a basic REST based Web API service with multiple GET methods and its consumption using JQuery client
5 Nov 2018 by Jovan Popovic(MSFT)
Create powerful REST API with just few lines of C# code using MsSql.RestApi package
12 Apr 2016 by bradyguy
An end to end view of how to integrate Jira REST API's with Excel.
25 Nov 2016 by kannankeril
This article is an attempt at splitting out the controller layer to reduce its complexity and improve quality and maintainability of the resulting code.
6 Oct 2020 by Ansel Castro
Leveraging Protobuf and code generation tools to drive the development of microservices and REST APIs
7 Jan 2015 by vladimir husnullin
Web development using JSON is simple
6 Dec 2021 by Michael Sydney Balloni
Interested in easily implementing REST communications in your Windows C++ apps?
3 Apr 2013 by Komin Dmitry
How to write iPhone application to authenticate to SharePoint and read the contents of a list provided by the SharePoint REST API.
2 Jan 2016 by Atish Dipongkor
Creating Custom Date Picker, People Picker and Choice for SharePoint 2013 Apps or Content Editor Web Part using AngularJs/jQuery.
17 Jun 2014 by Terrence Sheflin
I’ve had to build several enterprise size applications over the years, and one of the biggest mistakes I ever made was to re-use the business objects as my data contracts.
2 Sep 2014 by Pavel Sinkevich
Implement TinyWebDb interface on WCF Service to communicate with Android application developed with App Inventor
15 Jun 2015 by Sam__Khan
The purpose of this article is to demonstrate the integration between IBM Integration Bus and Salesforce.com using the REST API.
16 Oct 2015 by Bert O Neill
Validate your Restful Service Methods using SoapUI (which can then be integrated into TFS build CI)
13 Jun 2017 by Friedrich Brunzema
How to programmatically edit a Confluence Wiki page
27 Aug 2012 by Prasad_Kulkarni
Refer:Callin...
6 Apr 2013 by Modesty Zhang
Running pdf2json module in RESTful Web Service, built with resitify and nodejs
30 Oct 2013 by Pratik Bhuva
Here You have defined one parameter in your template url & method in service Contract.public interface IService{ [OperationContract] [WebInvoke(UriTemplate = "/Welcome/{Name}", Method = "GET", ResponseFormat = WebMessageFormat.Json)] string Welcome(string Name);}First...
20 Feb 2014 by Naveen Karamchetti
This article attempts to explain how to invoke the Bing Maps REST API through an Orchestration in BizTalk Server 2013.
25 Feb 2014 by Mantri Vishal
How to creating table in Azure Mobile Services using Azure Service Management Rest API
18 Nov 2015 by Softarex Technologies, Inc.
Step-by-step case shows how to optimize a web application using new technologies which can easily increase the performance
10 Apr 2016 by Dave Kreskowiak
You can not use javascript to do this because any code running in the browser does not have access to anything outside the browser.You can not do it from a service because Windows Services run under an entirely different desktop from the users. You'll get a blank screenshot.You can...
29 Aug 2016 by Atish Dipongkor
Exploring the REST API of SharePoint. This tool will help to test HTTP request very easily.
21 Oct 2016 by Amgad Fahmi
An experimental tiny lib (3kb) to load any JS library from jsdelivr.com dynamically based on the lib name. Specific version also supported
4 Mar 2020 by Łukasz Bownik
The article tries to map a deeper, more generic nature of REST architectural style into HTTP to show protocol deficiencies.
29 Jan 2019 by Richard MacCutchan
I just ran your code and got the following result: {'item_0': 'apples'} {'item_0': 'apples', 'item_1': 'banana'} {'item_0': 'apples', 'item_1': 'banana', 'item_2': 'oranges'} {'item_0': 'apples', 'item_1': 'banana', 'item_2': 'oranges', 'item_3': 'peaches'} {'item_0': 'apples', 'item_1':...
1 Apr 2011 by Patrick Kalkman
I think this will work, note the Stream as return argument. [WebGet(UriTemplate = "{id}", BodyStyle = WebMessageBodyStyle.Bare)]public Stream Get(string id){ OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse; context.ContentType =...
3 Apr 2011 by musefan
Hi All,I am playing around with RESTful web servcies in WCF. I am using the online template in visual studio called 'WCF REST Service Template 40(CS)'.Anyway, all is good and my service calls return appropriate XML data (which is what I am looking to return)At first, I quite liked...
21 Mar 2012 by coding_life
Ok. Finally I found a solution by myself after talking with my friend. :D. So let's look at how to send a Complex type over WCF REST Web Service. So let's think that there is a Interface class which contain MakeComplain and this method take a complain object as a parameter. and it's return...
5 Jul 2012 by Patha Ashish
Just need to call by using JSON method as below from androidWCF service method Declarationpublic class Sub{ public string HostUID { get; set; } public string HostName { get; set; }}so the rest service method input is as below:[OperationContract(Name="SampleSUb")]...
21 Nov 2018 by Bruno Baia
Spring.NET Social helps you to simplify authentication (OAuth) and API binding with Software-as-a-Service (SaaS) providers such as Facebook and Twitter.
31 Aug 2013 by ridoy
Check these:How to: Call a Web Service[^] Introduction to Web Services in C#[^]Web Services C Sharp .NET End to End Tutorial[^]
11 Sep 2013 by Manikandan Sekar
There are two ways to get the data from service one is XML and other one is JSON.you chose xml the data you received is in the format of XML schema you only have to convert it into required format.I just give you an example,HttpWebRequest webrequest =...
24 Oct 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
URL seems to be wrong.Check - Location via Point[^]
19 May 2015 by Bo Li (KAFFEECKO)
using Angular `$http` and Parse REST API to process the relations
29 Sep 2016 by Roshan Parmar
This article shows how to view the workflow status with Rest API, how to navigate to workflow approval page, how to approve and reject the task with SharePoint REST API
26 Dec 2016 by robert_chang
Learn how to connect to Dynamics CRM, customize and query Customer Address entity, geocode the address and update CRM data.
22 Feb 2017 by Graeme_Grant
Here is a Converter Helper class (converted from C#) used in commercial applications. It will convert to/From POCOs JSON.Imports Newtonsoft.JsonPublic Class JsonConverter Public Shared Function FromClass(Of T)(data As T, Optional isEmptyToNull As Boolean = False, Optional...
1 Sep 2017 by Britto selva pandian J
Things to remember while using Rest API calls on SharePoint hosted App for Office 365/SharePoint Online
9 Jan 2018 by Programming Tutorials by Tests4Geeks
Django REST Framework tutorial
19 Apr 2018 by charles922
AngularJS and REST API Tutorial - Part 2
26 Aug 2019 by robertcarlson8203
Learn how to quickly build mobile apps using a Xamarin with a cloud hosted mobile backend in minutes.
18 Oct 2019 by Vincent Maverick Durano
Highlights the detail about what's new in AutoWrapper Version 2. AutoWrapper is a simple, yet customizable global exception handler and response wrapper for ASP.NET Core APIs
16 Jun 2022 by honey the codewitch
Create a clock that uses multiple Internet services to detect your weather, date and time
13 Jun 2023 by Peng Qiu
In this article, we will talk about what web security related configuration parameters help protect the transfer data in the REST API and how to configure them.
20 May 2021 by Jarek Szczegielniak
In this article, we’ll modify our code to expose the same logic via a Rest API service.
9 Mar 2011 by fjdiewornncalwe
1) Does xyz.com resolve correctly to the hosting server?2) Is port 4568 open on the server hosting the service?If you get an answer to these two questions then you should be much further along. If you still can't hit the service correctly, then post any errors you are receiving and I can...
11 Mar 2011 by yaser shadmehr
You should use cross-domain policy files when accessing third party web services. There are some ways to develop it; I explain a way that it can solve your problem.Note1: The request http://localhost:58993 is different with http://xyz.com:4568 in security context.Step 1: Create...
5 Apr 2011 by musefan
Well I have been looking into this and what I have found so far is as follows. In order to return XML formatted exactly how I wanted it, I found this post[^] which shows how to convert an XMLDocument into a Message. Then with a further helper class my calling code can now be as simple as...
19 Apr 2011 by Asif Ishaq
Hi,What is the standard way to pass parameters to REST services? Is it parameterName = value? In this way how the complex object would be passed? I am using c# WebRequest class for calling Rest service. Target service could be implemented in any language so the solution I have to...
22 Jun 2011 by Ruard
This is a problem with the certificate. By default the connection is not trusted and somehow the client cannot validate the certificate.Take a look here why the connection may fail. And also a way on how to solve it:http://weblogs.asp.net/tgraham/archive/2004/08/12/213469.aspx[^]
27 Jul 2011 by Christoph Keller
Hi,For your information, the assembly App_Web_xxxxxx is the dynamically compiled assembly from your not-compiled ASP.NET Code. This assembly will be generated when you use the "New Website" command in VisualStudio rather than "New Project" => "ASP.NET Web Application".This seems to be an...
25 Nov 2011 by RaisKazi
Ideally your REST service should return Data in a XML/JSON format.http://en.wikipedia.org/wiki/Representational_state_transferhttp://msdn.microsoft.com/en-us/library/dd203052.aspxhttp://msdn.microsoft.com/en-us/netframework/cc950529Once you get your Data from your REST service in...
13 Dec 2011 by RaisKazi
Well, this is really not how REST services are consumed in Client Application. REST service call is a pure HTTP call which returns Data in a XML/JSON format.Have a look at below links for information on...
4 Jan 2012 by Rajesh Anuhya
go through this link, this may help you Here[^]
23 Mar 2012 by Peace ON
I have come across few useful links while searching for solution with similar problem. Find it...
28 Mar 2012 by Member 8759631
How to upload and download files using REST service through windows forms applications?
12 Apr 2012 by Leng Vang
I'm wondering if anyone would still interested in create Android app interact with .NET WCF REST Service under OData4j using JSON format. Also some handling on Android's basic listview and dialog boxes. I just went through created an application using these technology and its not easy figuring...
26 Apr 2012 by Pete O'Hanlon
Sacha Barber[^] and I recently developed an application that makes good use of RESTful WCF calls. Sacha details the principals underlying the REST calls in this[^] article.The actual end implementation is covered in the series of articles that we wrote starting here[^].We make the source...
16 May 2012 by Rob Philpott
Below is a cut and paste of a JSON service operation, which basically just accepts a string and returns a string which is JSON UTF-8. In the Process I use LINQ-2-JSON to 'parse' the input rather than 'deserialize' it. You'll need to read up on the documentation to determine your best...
14 Aug 2012 by pramod.hegde
Check you binding first. Use webHttpBinding instead of basicHttpBinding, when you are using jSon as response type.
10 Sep 2012 by __TR__
Similar thread here RESTful web service in ASP .NET 3.5[^]There are many articles in CP. Here are a fewImplement CRUD Operations using RESTful WCF Service and JavaScript[^]Consuming WCF REST Services Using jQuery AJAX Calls[^]Developing a REST Web Service using C# - A...
14 Sep 2012 by RaisKazi
Based on my answer to your previous question, I take you are developing WCF REST service. Have you defined properties of WebInvoke attribute as below. Change Method type to POST if you are using POST method.[WebInvoke(Method = "GET",RequestFormat = WebMessageFormat.Json,ResponseFormat =...
5 Oct 2012 by Vitaly Tomilov
Which of the two approaches is better suited for implementing a high-performing REST Service to be hosted on IIS-7 - IHttpHandler or IHttpModule?I'm mostly interested in which of the two scales best, i.e. fastest to respond, with the least of resources to use.Would the need for...
9 Jan 2013 by Johannes Hinkov
Rest tutorial: Call a REST webservice from Wordpress.
28 Mar 2013 by Keith Barrow
I'm a bit loathe to answer this as I don't think there is an answer, as such the following is an opinion and hopefully you'll get multiple opinions. Given what you describe, I'd beef up the EF model and make that the business model, negating the need for the third set of classes, this keeps...
16 Jun 2013 by RelicV
Hi Avinash,Looks like you are converting the datatable to a list. So, here List is a list of type t_country_cmn.Now, t_country_cmnhas to be created. Generally, List is a dynamic array. With List, you do not need to manage the size on your own. Lists are considered as...
9 Jul 2013 by shuresh
Hi , i am creating a WCF Restful service in which i want save the json object coming from the javascript as querystring by POST operation..I am getting the json object as querystring but can't access it in wcf restful, please help..........My javascript code var myRequest = new...
12 Jul 2013 by Prasad Khandekar
Hello Jyothi,Please have a look at following linksUsing the SkyDrive REST API[^]this[^]PhotoSky - SkyDrive Sample[^]SkyDrive .Net API Client[^]MetroSky - End to end Windows Phone 7 SkyDrive sample code and app[^]. This is windows phone-7 sample, but you should be able to adapt...
31 Aug 2013 by Gabriel Sas
i have this simple class in an asp.net MVC web api:public class OrdersController : ApiController { // GET api/orders public IEnumerable Get() { return new string[] { "value1", "value2" }; } // POST api/orders ...
11 Sep 2013 by Manikandan Sekar
Dear Member 8775683 i understand you, i also learnt this some days ago. If i did the coding to you means you dont get learnt on yourself.So i just gave you clear idea soon i will write an article so that help you.This is my service,[OperationContract][WebInvoke(Method = "POST",...
13 Sep 2013 by mariazingzing
Hi experts,When I enter some Unicode (UTF-8) characters in my query string, it will change in my program.[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Single, IncludeExceptionDetailInFaults =...
5 Nov 2013 by Vishnu Prajapati
Please refer following link :---------------------------Upload file from Html form (multipart/form-data) to WCF REST service as a stream without streaming the whole form's inputs?[^][Edit member="Tadit"]Link text added to reflect the Article/QA title.[/Edit]
15 Dec 2013 by Developer Hemu Patel
Hello,I am developing the WCF REST API for mobile app which required the request and response format in the JSON. Response has the common format like this{"statusCode":"200/400/401/404/405","errorDescription":"blah blah","methodName":{"To":"", "subject":"", }}if Method name...
29 Jan 2014 by Yogesh Potdar
You can check by trying to deserialize the object JsonConvert.DeserializeObject(YourResult)
7 Feb 2014 by mari t
I am developing a web application that uses data from online biological database INTACT. I have found following web services.I am trying to useEndpoint address: http://www.ebi.ac.uk/Tools/webservices/psicquic/intact/webservices/v1.1WADL :...
20 May 2014 by ADK Serenity
Given the broad nature of your question(s), I think you may need to look into a few aspects of WCF services:InstancingThe instancing behavior (set by using the ServiceBehaviorAttribute.InstanceContextMode property) controls how the InstanceContext is created in response to incoming...
11 Jun 2014 by Nirav Prabtani
you can pass it like that.. :)data: "{'a':'"+No1+"','b':'"+No2+"'}",see whole snippet.. :) $(document).ready(function () { $('#BtnRegister').click(function () { debugger; var No1 = document.getElementById('TxtFirstNumber').value; ...
24 Jul 2014 by Member 10914759
I have been attempting to to connect to a WCF Service from a Android device. I have read a lot of blogs that does not seem to be useful. One of the Operations running on my WCF is - [OperationContract] [WebGet(UriTemplate = "write", ResponseFormat = WebMessageFormat.Json)] string...
18 Aug 2014 by Snesh Prajapati
I hope that following article will be helpful. Download the code from Part 2 of below article series and compare with your AJAX call code where service is being consumed...Part 1: WCF RESTful service and WebGrid in ASP.NET MVC 5 - Part 1[^]Part 2: WCF RESTful service and WebGrid in...
18 Aug 2014 by db7uk
hi one of two things....Try setting maxJsonLength property on your web.config: ...
20 Aug 2014 by Stephen Hewison
PhoneGap applications are designed to host Single Page Applications (SPA).This is where a single HTML page with it's supporting resources such as javascript and css files are bundled into a package and downloaded to the phone. PhoneGap provides a native wrapper to allow your Javascript code...
5 Sep 2014 by Terrence Sheflin
BackgroundI have an MVC Application with a WebAPI component. I'm using jQuery and AJAX to pass and receive data from the WebAPI. I rely on the Application_BeginRequest being fired during each call to perform some mundane task.ProblemApplication_BeginRequest always fires for GET and...
11 Jan 2015 by Er. Puneet Goel
I am using the salesforce rest api to access the user information and registering new user. But a don't found any option where i can set to shoot an email to registered user's email once he is registered. I need theis because there is no option in create user rest api call to set password, thus...
11 May 2015 by jayarajlcc
Dear TechiesI am new to WPF , Asp.net Web API , REST and OData. I need to work in a project where WPF is the client (MVVM) that utilizes RESTful services hosted on a Web server (Using Asp.net Web API) communicating using OData. Would any one be kind enough to provide me a very small sample...
17 May 2015 by Raul Iloc
1.Shortly, in .NET, Web API should be used to implement backed for the WEB application. Web API is part of the ‘One ASP.net’ family which means that it natively supports all of the great shared features you may currently use with MVC or web forms.2.WCF instead is designed for implementing...
22 Sep 2015 by Afzaal Ahmad Zeeshan
Depends on your server's hardware, it wouldn't collapse. It is not a wormhole, but a machine. It will simply get slow, think of it like having a water pipe with capacity to allow 5 litres of water and you try to get 20 litres of it? Will it collapse? No, it will provide you with 20 litres of...
21 Nov 2015 by MonkeySeeMonkeyWrite
This is an article about integration SIP and RTMP protocols
25 Dec 2015 by OriginalGriff
"I do not know how to do calculations for 100 km radius for a particular lat long."Then start with Google: radius for a particular lat long - Google Search[^]In future, please try to do at least basic research yourself - otherwise you are wasting your (and our) time.
9 Mar 2016 by tsivasankar
I am using Provider-Hosted App. I want to get version collection of list item, for that just tried to access using list.asmx service. To call this SP service, have to pass cookie(FedAuth and rtFa). but i have only accesstoken with me, is any way to get cookie of the current logged in...
19 May 2016 by Sacha Barber
have a look here I show loads of different ways to use .NET to do REST calls, there is another way shown in the comments:JSON API[^]
21 Jun 2016 by F-ES Sitecore
You can't stop people amending the url, as said you either need authentication or use ids that you can't guess, like GUIDs rather than sequential numbers, but implementing a log-in is the most secure way.Things you shouldn't spend time doing | The ASP.NET Forums[^]
23 Jun 2016 by Karthik_Mahalingam
you will have to add reference to Jquery UI[^]add below two reference. for complete reference refer Jquery...
23 Jun 2016 by Karthik_Mahalingam
try this(function () {var url = "http://localhost:61397/CompanyRestService.svc/GetCompID/0";var items = [];$.getJSON(url).done(function (data) {$.each(data, function (i, item) {items[i] = item.Name;});$('#select').autocomplete( {source: items,select: function (event,...
21 Sep 2016 by Afzaal Ahmad Zeeshan
Quote:I was searching difference between WebApi and WEF REST and in almost every artical I found that WebApi is lightweighted than WCF REST but none of them told "why".I will tell you the "why" part of their posts and the increased interest in this question is motivating me to write an article...
31 Oct 2016 by Scyldshefing
For anybody to provide you with any help on this (or other issues), you will need to provide better information than you have provided here. A lot of the information provided is not relevant as I understand it you are receiving nulls at the service boundary so the downstream code is not part of...