REST (Representational State Transfer) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It has increased in popularity relative to RPC-based architectures such as SOAP due to the intrinsic de-coupling of client from server that comes from having a ...
0
votes
0answers
9 views
Httperf: How to test REST api with endoded uri
I want to test my REST API which has a URI something like this:
/myrestAPI/search?startTime=0&endTime=10&count=8&filters={"params":
...
0
votes
0answers
6 views
What are OPTIONS, LINK and UNLINK routes in Sinatra?
Sinatra routes documentation is too short:
options '/' do
.. appease something ..
end
link '/' do
.. affiliate something ..
end
unlink '/' do
.. separate something ..
end
I've been ...
0
votes
0answers
10 views
Amazon EC2 Tomcat does not support restful service?
I've a local project with Eclipse + Tomcat setup. My restful services is working.
However, when I deploy over to EC2's Tomcat server, I can still view the web pages, but the restful services is not ...
0
votes
1answer
13 views
Why is Azure returning 404 Resource Not Found in response to a PUT blob request?
I'm attempting to do a PUT request to create a new BLOB. After some initial trouble with Authorization header, I am now getting a 404 Resource Not Found error when I attempt to PUT a file into a ...
0
votes
0answers
9 views
Is it uncommon to use query strings/parameters with a POST?
I want to send data in the body as well as have a query string/parameter that is attached to the URL. I guess it seems a little strange having a query string with a POST request, but is it something ...
0
votes
2answers
23 views
Easier way to produce HTTPGET REQUEST URI on Android
I'm trying to make an HTTPGET request to a REST server, the URL i need to send contains many parameters:
This is the URI :
...
0
votes
0answers
23 views
How do I programmatically call a different URI from inside a REST method in Jersey?
I want to create a Jersey call that allows a user to specify a list of URIs to the server as part of a JSON payload, and have the server call each of them and return the results as one big payload ...
0
votes
1answer
10 views
REST, JAXB, jersey 2, JSON, field of type List<>
I have a RESTful service with some methods. Methods are annotated by @POST and @Consumes(MediaType.APPLICATION_JSON).
I have wrapper for request parameters:
@XmlRootElement
...
0
votes
0answers
8 views
REST and DELETE -> passing parameters
So this question has been asked numerous times n SO and elsewhere.
On SO this is probably the question with the most comprehensive answers and comments.
REST, HTTP DELETE and parameters
In my ...
0
votes
1answer
16 views
AngularJS why Not sending PUT on update using $resource
I am using $resource service to use CRUD operation on my rest api.
When customer.id is not set it is new record. so it send using Post Mehtod
POST /info.json
which is fine
But
When customer.id ...
0
votes
1answer
17 views
Spring Security 3.2 Token Authentication
I know this has been asked already, but I am not able to get it to work.
Here is what I would like to get accomplished:
I am using Spring Security 3.2 to secure a REST-like service. No server side ...
0
votes
0answers
2 views
Php REST api - send multipart/form-data for update
I'm writing REST api using Zend Framework 1.12. As I understand for updating information I should use PUT request. And I faced with some problem here. My api working with book - user can upload book ...
0
votes
0answers
6 views
Content negotiation using WebSharper
I'm investigating whether WebSharper can be used to build a ReSTful API that supports content negotiation. I was hoping that it would support something similar to the Web API model, whereby the ...
0
votes
0answers
5 views
Restful web service using @formparam to produce xml file(marshalling)
I have a basic html form with a text box and a submit button
I am interested in creating a restful web service wherein I will be exposing a method
of MY EJB(from a working search based application) to ...
0
votes
1answer
20 views
android asynchronous interaction with server
I'm developing a client-server android application, which makes use of REST protocol.
Basically I upload a picture to the server first and then process it on a server and then update the status of ...