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
1answer
11 views

What should I render when destroying a record?

I have an API that lets you destroy an object. The part I'm not sure on is what JSON should be rendered after the record has been destroyed. Here are a couple options, but I'm not sure what the best ...
0
votes
0answers
7 views

MySQL Write-Query Execution Offloading

I am setting up a custom vtiger 5.3 crm solution. The crm uses a RESTful WS to encapsulate the MySQL db operations. I will be making a large number of calls to the WS (inserting and updating numerous ...
0
votes
1answer
16 views

Why is my email getting cut off with Spring MVC and REST?

Can someone please tell me why my email address is getting cut.. for testing we use email address like [email protected] I have the following code: @RequestMapping(value = "/profilenumber/{email}", ...
0
votes
0answers
10 views

Page reloads when restcall is made

When I use my restservice in a factory the entire page reloads instead of just feeding data. This is my factory code: factory('Pipe', function($resource){ return ...
0
votes
1answer
10 views

Delegate to a different Jersey resource class

I have a resource exists in an internal jar dependency (hence, I cannot change it's code): @Path("doStuff") public class ExternalResource { @GET public Response getSomething() { } I ...
3
votes
1answer
40 views

Best practice to sync webservice with offline storage on iOS

I have been working on a few iOS applications that talk to a REST API on the web server and than sync some data down for offline usage. The app then stores data locally if network connection is not ...
0
votes
0answers
8 views

how to load a drupal form with data from an external webservice

I am relatively new to Drupal (7) and PHP so this may be a bit of a basic question through I have not managed to find out what I needed in the questions so far, hence the post. I have a drupal site ...
0
votes
0answers
19 views

Jersey error while downloading file from restful web services

My application is accessing a restful web service using client which returns me a file. When i test this on my local environment everything works like a charm, however when i try to access the same ...
0
votes
0answers
27 views

Oanda REST API and Java

I am currently trying to play around with Oandas REST API and Java and got stuck with it. Maybe fair enough as I have no clue about REST... When I try to open the URL in my browser, I am asked to open ...
0
votes
1answer
23 views

Recommended strategy for emulating REST endpoints in command-line API?

Background I'm designing a command-line API to a HPC Cluster (it API might eventually be published over the web as well). The question I wonder what would be the be the recommended strategy for ...
0
votes
0answers
14 views

Send and received http headers with Codeigniter RESTserver

I am building a RESTful API using Phil Sturgeons RESTServer. I've got it working fine and responding as I want it to using file_get_contents but I am building it for someone else to use and they will ...
0
votes
0answers
14 views

Why use two step approach to deleting multiple items with REST

We all know the 'standard' way of deleting a single item via REST is to send a single DELETE request to a URI example.com/Items/666. Grand, let's move on to deleting many at once. As we do not require ...
0
votes
1answer
8 views

“Content-Type” in header is not changing

I'm trying to call Rest web service with cURL that does next: generate certificate download this certificate Every one of those functions is working alone, but when gathering them in one service ...
0
votes
1answer
35 views

Laravel change route of RESTful controller

I've decided to split up my users logic into a controller to clean up my routes file, going down the RESTful route i've got something like: UsersController { getLogin() { } postLogin() { ...
0
votes
1answer
12 views

API centric application or REST or Web service Where to start

BRIEF: I am working on a web application, we decide to make some major. We did some researches and we found this tutorial that talks about "Creating api centric application". we found the topic is ...
1
vote
1answer
45 views

Is JSON format suitable for a custom HTTP Header?

It's useful to add custom HTTP header to provide application specific metadata or information to client, and hoping one day it can be a standard like link header (Web Linking). Most of HTTP headers ...
0
votes
1answer
15 views

How we can add filed as an attribute for an element for java REST API

How we can add field as an attribute for an element for java REST API My Java class @XmlRootElement(name = "rtml_application") public class ApplicationsEntity extends BaseEntity { private static ...
0
votes
1answer
21 views

.Net Web API throw exception/return response/return error response for 404/400 response?

I am developing some restful web service using .net web api. I need to return 404 (NotFoundStatus) or 400 (BadRequest) to the client for some scenarios. It seems like that there are many ways to do ...
0
votes
1answer
10 views

Rest reading a long using @QueryParam always returns 0 when using @POST

I send the following ajax call to my JBoss server (using jQuery): $.ajax({ type: "POST", url: "http://localhost/services/v1/online/123/abc", data: { "status": 100 }, contentType: ...
2
votes
1answer
41 views

Dynamic web page with RESTful content provider

Maybe it's a newbie question so sorry in adavnce :) I'm having a REST API that returns JSON objects. I'm trying to build a web-site with 2 page: First page presents a table that presents article ...
0
votes
0answers
5 views

Get events for specific date range in outlook.com calender using REST API

I access microsoft live platform using REST API and everything works fine, but i can't figure out how to create a query to get events for specific day (in the past) or for the next week only Query ...
0
votes
1answer
28 views

Issue in Tweeter Search Rest API Version 1.1

I am trying to implement the Tweeter Search in my application. There wasn't any issue with the Version 1 (Rest API). But now the Version 1 is deprecated, I have to migrate to Version 1.1 Here the new ...
0
votes
0answers
15 views

Unable to detect active object interface in rest service

My active object interface is as below : package com.company.jira.plugin.Reports.aoentities; import java.util.Date; import net.java.ao.Accessor; import net.java.ao.Mutator; import ...
0
votes
0answers
8 views

How do I send API push message with .Net / Parse.com? (C#)

This is my application code for sending push message using PARSE public static string ParseAuthenticate(string strUserName, string { var httpWebRequest = ...
0
votes
1answer
20 views

Making PayPal balance payments without being redirected to the PayPal site

After reading the new PayPal REST API documentation, I've concluded that it still is not possible to integrate PayPal in a way that would allow clients to make payments from their PayPal balance ...
0
votes
1answer
34 views

Background workers and REST services in Meteor

I have a meteor app and would like to add two features to it. The first is to schedule background tasks, sort of like cron jobs, on the server. The second is to add an HTTP endpoint to act as a ...
1
vote
1answer
20 views

Issues recieving and parasing a put request in ruby on rails

Having some issues parsing and retrieving a put request from a raspberry pi I have sending my website data. I am trying to update some fields in my Worker model the controller is below class ...
0
votes
0answers
13 views

REST/HATEOAS Microformat/FOAF/Schema Domain Specific Confusion

In a restful service, you can define links to resources as so <next xmlns="http://example.org/state-machine" rel="http://mydomain.example.org/user" url="http://mydomain.example.com/user/1234" ...
0
votes
0answers
42 views

Looking for example code of DataSnap REST Server receiving JSON object from Android through HTTP POST [closed]

I'm creating an Android application which should post data to a database. The app passes a JSON object with HTTP POST. I want to use a DataSnap REST server coded in Delphi (XE3) to receive the data. ...
0
votes
1answer
33 views

How do I make my WCF Rest methods not require Content-Type when using WebInvoke

I have a WCF REST service with an operation like this: [OperationContract] [WebInvoke(UriTemplate = "/User", BodyStyle = WebMessageBodyStyle.Bare, Method = "POST", RequestFormat = ...

1 2 3 4 5 508
15 30 50 per page