Top "Rest" questions

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

How do I POST JSON data with cURL?

I use Ubuntu and installed cURL on it. I want to test my Spring REST application with cURL. I wrote …

json rest spring-mvc curl http-headers
PUT vs. POST in REST

According to the HTTP/1.1 Spec: The POST method is used to request that the origin server accept the entity enclosed …

http rest post put
HTTP GET with request body

I'm developing a new RESTful webservice for our application. When doing a GET on certain entities, clients can request the …

rest http http-get
SOAP vs REST (differences)

I have read articles about the differences between SOAP and REST as a web service communication protocol, but I think …

rest web-services http soap definition
400 BAD request HTTP error code meaning?

I have a JSON request which I'm posting to a HTTP URL. Should this be treated as 400 where requestedResource field …

rest http error-handling http-status-code-400
How do I make calls to a REST API using C#?

This is the code I have so far: using System; using System.Collections.Generic; using System.Linq; using System.Text; …

c# api rest
How do you set the Content-Type header for an HttpClient request?

I'm trying to set the Content-Type header of an HttpClient object as required by an API I am calling. I …

c# asp.net api http rest
REST API Best practices: Where to put parameters?

A REST API can have parameters in at least two ways: As part of the URL-path (i.e. /api/resource/…

api rest url
Call a REST API in PHP

Our client had given me a REST API to which I need to make a PHP call to. But as …

php web-services api rest