Top "Rest" questions

REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web.

Setting Authorization Header of HttpClient

I have an HttpClient that I am using for a REST API. However I am having trouble setting up the …

c# rest oauth windows-runtime
Posting a File and Associated Data to a RESTful WebService preferably as JSON

This is probably going to be a stupid question but I'm having one of those nights. In an application I …

json rest grails file-upload
Making a request to a RESTful API using python

I have a RESTful API that I have exposed using an implementation of Elasticsearch on an EC2 instance to index …

python api rest elasticsearch
Main differences between SOAP and RESTful web services in Java

For now I have a slight idea about the differences between SOAP and RESTful services. My question is when I …

java soap rest
REST API Best practice: How to accept list of parameter values as input

We are launching a new REST API and I wanted some community input on best practices around how we should …

api rest
Capturing URL parameters in request.GET

I am currently defining regular expressions in order to capture parameters in a URL, as described in the tutorial. How …

django url rest
How to call a REST web service API from JavaScript?

I have an HTML page with a button on it. When I click on that button, I need to call …

javascript html rest web-services
Best practice to return errors in ASP.NET Web API

I have concerns on the way that we returns errors to client. Do we return error immediately by throwing HttpResponseException …

c# rest asp.net-web-api
Best practices for API versioning?

Are there any known how-tos or best practices for web service REST API versioning? I have noticed that AWS does …

rest versioning
REST HTTP status codes for failed validation or invalid duplicate

I am building an application with a REST-based API and have come to the point where I am specifying status …

http rest http-status-codes