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 ...

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

How to avoid java.io.IOException: Attempted read on closed stream

I am trying to find a way to avoid the IOException related to the fact that I read on a closed stream. I'm calling a webservice method that returns a Stream: InputStream stream = ...
0
votes
0answers
9 views

How to give string in the url in RESTful api in Cakephp?

As per the this Cakephp CookBook the simple setup for RESTful api : HTTP Method URL.method Controller action invoked GET /recipes*.method* RecipesController::index() GET ...
0
votes
1answer
4 views

JAX-RS(CXF) JSONProvider

I am new to JAX-RS, I am just starting with apache CXF, I am struck at "No message body writer has been found for response class" while trying to return "application/jason". I know, I can set the ...
1
vote
0answers
11 views

How to post array values via curl?

I like to test an API backend which is designed as shown in the following example: http://localhost:3000/api/v1/shops/1.json The JSON response: { id: 1, name: "Supermarket", products: [ ...
-1
votes
0answers
8 views

Error while consuming self hosted WCF REST service over https using channel factory in WCF client

I have created a self hosted WCF REST service using WebHttpBinding . I am consuming the service in an MVC 4 application using ChannelFactory. I want to implement two way SSL authentication between ...
0
votes
1answer
11 views

REST Console for Chrome - How can I get request execution time?

Can somebody guide me how to get request execution time on REST Console for Chrome? I wanted to estimate some of the REST API execution time while testing it through REST Console.
0
votes
0answers
5 views

adding openerp authentification to my wso2 esb proxy service

I'm using a restful webservice for openerp https://github.com/tgpfeiffer/restful-openerp when i get my data from that webservice it demands username and password to authanticate to open erp. for ...
0
votes
0answers
12 views

Codeigniter RESTserver. Null response

I am using Codeigniter and Phil's REStful API. I am making a call to the server and the problem is it return a NULL value. The value that should be return is a blob that is 65000 in length. I reckon ...
0
votes
0answers
9 views

Handle HTML and non-HTML representations in controller with HttpMessageConverters

I have a Spring MVC controller for a RESTful resource (ServiceDirectoryController), which I want to serve both HTML (web page) and non HTML (web service) representations. I want to use view names and ...
0
votes
0answers
17 views

HTTPstatus 500 in deploying Jersey based Restful service project

I have recently started with Jersey following this tutorial. I have configured the services/package name in web.xml alright, Now the thing is I am getting an javax.servlet.ServletException: ...
0
votes
0answers
7 views

Has anyone had a SyntaxError with the Python jenkinsapi module in artifact.py?

I'm still ramping up on Python after years in other languages. I'm working on some tools that needs to interact with Jenkins from the command line. However, when I try to import from the jenkinsapi ...
-1
votes
0answers
12 views

is this aproach for web-service safe and good [closed]

I'm trying to create a web-service for an existing website that will be used by a Mobile application, the initial website is developed under Zend Version:1.12, my approach is creating a New ...
0
votes
0answers
19 views

Display PDF and Download with jQuery on Phonegap [duplicate]

I have a REST service that attaches a PDF with its response. For example: http://localhost:8080/backend/rest/getPDF I would like to display this PDF in my page (I'm using Phonegap) and allow the ...
0
votes
0answers
7 views

Issue getting host name - ALM OTA API

Curious, is there a way to obtain a list of available host names (aka: test runners) in ALM using either the OTA or REST api's? I've dug around most of the day today and have come up dry. I'm not ...
0
votes
2answers
15 views

Post with Jax-RS

This really should be a simple question, and I apologize but I just can't seem to find the answer. From my understanding you can take in an object and have it use say a bean in Java EE to produce this ...

1 2 3 4 5 1017
15 30 50 per page