Linked Questions
13 questions linked to/from Patterns for handling batch operations in REST web services?
302 votes
9 answers
484k views
What is the size limit of an HTTP POST request?
Sorry if this is duplicate,I would think it would be but couldn't find anything. I have a flex application that I am posting data back to a PHP/MySQL server via Internet Explorer. I haven't run into ...
200 votes
7 answers
187k views
Delete multiple records using REST
What is the REST-ful way of deleting multiple items? My use case is that I have a Backbone Collection wherein I need to be able to delete multiple items at once. The options seem to be: Send a DELETE ...
36 votes
5 answers
34k views
Create single and multiple resources using restful HTTP
In my API server I have this route defined: POST /categories To create one category you do: POST /categories {"name": "Books"} I thought that if you want to create multiple categories, then you ...
10 votes
3 answers
4k views
Save several Backbone models at once
I have a Backbone collection with a load of models. Whenever a specific attribute is set on a model and it is saved, a load of calculations fire off and the UI rerenders. But, I want to be able to ...
3 votes
2 answers
4k views
REST best practice: synchronizing a client to a server
I have a REST server and a client application running on a mobile device. The client has some data and would like to get updates to the data from the server. How do I do this in a RESTful way in a ...
0 votes
2 answers
4k views
Passing an array of integer in POST body in a DELETE method
I don't know but this seems ambiguous to me. I'm trying to make a DELETE request, applied on multiple objects, referenced with their IDs (the ones in the array). This is my controller : [...
2 votes
1 answer
3k views
Handling a batch REST request in PHP
For a PHP application I am integrating a REST service capable of receiving multiple nested HTTP requests at once. This is identical to the google calendar API: https://developers.google.com/google-...
0 votes
1 answer
2k views
backbone.js - fetch a list of models via Collection by a list of IDs
i'd like to fetch a bunch of models via a collection by a list of model IDs. My problem is that i have to fetch dozens of models at once. I don't want to put dozens over douzens of IDs into the URL ...
2 votes
2 answers
953 views
Efficiency of RESTful APIs
I'm currently creating an application (let's say, notes app, for instance - webapplication + mobile app). I wanted to use RESTful API here, so I read a lot about this topic and I found out there's a ...
1 vote
0 answers
1k views
Angular JS Restangular: How to remove() multiple records using array of ids as request body?
The Restangular.remove() function sends the request object as query params(EXAMPLE: /users?ids=1&ids=2&ids=3) instead of send these ids as a body params(JSON format) Example Code: $scope....
0 votes
4 answers
576 views
Vue js function countSubcategories() returns [object Promise]
countSubcategories() function returns [object Promise] where it should return row counts of mapped subcategories. This code is in vue.js & Laravel, Any suggestions on this? <div v-for="(cat,...
1 vote
0 answers
431 views
WCF or Web Api for WPF
I'm a noob so please I hope you can help me and understand that maybe my question is dummy or not-well oriented. In Visual Studio, I have a Web Api consumed from a MVC App (which applies CRUD methods)...
3 votes
1 answer
157 views
RESTful representation of RPC call
We're trying to re-engineer our SOAP API to a RESTful one (using ASP.NET Web Api). I know the question of how to replace RPC-style calls with REST comes up a lot but I still haven't found anything ...