tagged [rest]

What is difference between REST and API?

What is difference between REST and API? I want to know the main difference between REST and API. Sometimes I see REST API in programming documents, then is REST or API same as REST API? I would like ...

9 May at 17:18

Where can I find jenkins restful api reference?

Where can I find jenkins restful api reference? I am trying to integrate an external system with jenkins by REST API. Although I have done lots of google search on its API reference, I still cannot ge...

4 Sep at 09:4

How do I call REST API from an android app?

How do I call REST API from an android app? I'm new to android and new to programming as well. How do I call a REST api (GET/POST request) from an android app. Please suggest me a good tutorial, or gi...

3 Jan at 05:53

Passing array in GET for a REST call

Passing array in GET for a REST call I have a url to fetch appointments for a user like this: How should the url look like if I want to get appointments for multiple users? should it be: Thanks, Chris...

Samples for RESTful web services for WCF

Samples for RESTful web services for WCF I am new to RESTful web services in WCF, but not new to WCF. I want to develop some simple RESTful web services in WCF which manually be accessed from a browse...

14 Jul at 12:15

Is there a way to disable Default Endpoint in ServiceStack?

Is there a way to disable Default Endpoint in ServiceStack? Service stack by default has a [Default Endpoint](https://github.com/ServiceStack/ServiceStack/wiki/Endpoints) enabled. I can disable Soap e...

26 Dec at 16:12

What's the difference between REST & RESTful

What's the difference between REST & RESTful What's the difference between a REST system and a system that is RESTful? From a few things I've [read](http://www.infoq.com/articles/subbu-allamaraju-rest...

19 Apr at 14:12

How to get body of a POST in php?

How to get body of a POST in php? I submit as POST to a php page the following: This is the body of the request (a POST request). In php, what do I have to do to extract that value? is not the soluti...

24 Oct at 21:9

REST with hypermedia frameworks for .NET

REST with hypermedia frameworks for .NET Looking to start a web API project and wondering which of the (two?) frameworks would allow me to go further in [Richardson Maturity Model](http://martinfowler...

ServiceStack not showing up in Visual Studio

ServiceStack not showing up in Visual Studio According to this documentation: [https://youtu.be/EaUcPXVeLpk?t=20](https://youtu.be/EaUcPXVeLpk?t=20) I should be able to right click and select "Add Ser...

12 Aug at 13:24

How can I return a custom HTTP status code from a WCF REST method?

How can I return a custom HTTP status code from a WCF REST method? If something goes wrong in a WCF REST call, such as the requested resource is not found, how can I play with the HTTP response code (...

26 Sep at 15:8

Is it possible to send an array with the Postman Chrome extension?

Is it possible to send an array with the Postman Chrome extension? I've been using Postman Chrome extension to test out my API and would like to send an array of IDs via post. Is there a way to send s...

18 Jun at 07:50

ServiceStack custom response on failed authentication

ServiceStack custom response on failed authentication I've created a custom authentication for servicestack, which works well. The only problem is, that I get empty responses for every route, that req...

Should I use Singular or Plural name convention for REST resources?

Should I use Singular or Plural name convention for REST resources? Some RESTful services use different resource URIs for update/get/delete and Create. Such as - - - I'm little bit confused about this...

28 Dec at 23:52

How does ServiceStack handle concurrent calls?

How does ServiceStack handle concurrent calls? How does ServiceStack handle concurrent calls? I'm looking for equivalent of ConcurrencyMode.Multiple in WCF. My WCF services have this attribute set: Do...

9 Jan at 15:29

WCF 4 Rest Getting IP of Request?

WCF 4 Rest Getting IP of Request? Hey, how do you get the IP address of the person making a request in something like the following: ``` [ServiceContract] [AspNetCompatibilityRequirements(Requirem...

28 Aug at 01:40

Firefox Add-on RESTclient - How to input POST parameters?

Firefox Add-on RESTclient - How to input POST parameters? I've installed Firefox RESTclient add-on but , I'm having hard time figuring out how to pass POST parameters. Is there a specific format to do...

30 Oct at 04:47

How to call a REST web service API from JavaScript?

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 a REST Web Service API. I tried searching online everywhere. No...

6 Oct at 21:8

Is it considered bad practice to perform HTTP POST without entity body?

Is it considered bad practice to perform HTTP POST without entity body? I need to invoke a process which doesn't require any input from the user, just a trigger. I plan to use POST /uri without a body...

24 Jan at 03:31

How to specify port number in a service stack service?

How to specify port number in a service stack service? I am trying to create a restful service using service stack. How do I configure the end point of the service that I am trying to create? The defa...

3 Apr at 03:39

How to clone a HttpRequestMessage when the original request has Content?

How to clone a HttpRequestMessage when the original request has Content? I'm trying to clone a request using the method outlined in this answer: [https://stackoverflow.com/a/18014515/406322](https://s...

23 May at 11:46

Structuring online documentation for a REST API

Structuring online documentation for a REST API I'm building my first Rest API which serialize data to JSON and XML formats. I would like to provide an index page to API clients, where they would be a...

26 Mar at 15:2

Postman Chrome: What is the difference between form-data, x-www-form-urlencoded and raw

Postman Chrome: What is the difference between form-data, x-www-form-urlencoded and raw I am using the Postman Chrome extension for testing a web service. There are three options available for data in...

18 May at 00:22

400 BAD request HTTP error code meaning?

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 exists but `"Roman"` is an invalid value...

How do I secure my service using SSL for Services created using Service stack?

How do I secure my service using SSL for Services created using Service stack? I would like to secure my REST service implemented over the Service Stack, by means of X509 certificates? I will be hosti...

14 Jan at 10:52