Time |
S |
Nick |
Message |
00:33 |
|
|
fumanchu joined #rest |
00:38 |
|
whartung |
I don't know anything about "postman" (nor php for that matter), but on the current browsers, you can invoke the Web Developer tools (in some way), and in many cases you can just right click in the browser window, and select "Inspect Element". Up will pop up a tool pane with a bunch of options. One of those is the "Network" tab, and it tracks all of the interactions between the browser and the server(s). You can use that to see what you' |
00:38 |
|
whartung |
sending to the server, and what the server is sending back. |
00:38 |
|
whartung |
h2mster: |
01:20 |
|
|
shrink0r_ joined #rest |
01:52 |
|
|
whatacold joined #rest |
01:53 |
|
|
huckleberry78 joined #rest |
02:21 |
|
|
AndreasL joined #rest |
02:21 |
|
|
AndreasL left #rest |
03:33 |
|
|
shrink0r joined #rest |
05:17 |
|
|
lemur joined #rest |
07:19 |
|
|
_ollie joined #rest |
07:28 |
|
|
lemur joined #rest |
10:11 |
|
|
azer_ joined #rest |
10:57 |
|
|
Left_Turn joined #rest |
12:50 |
|
|
Left_Turn joined #rest |
13:06 |
|
|
shrink0r joined #rest |
13:15 |
|
|
azer_ joined #rest |
13:51 |
|
|
warehouse13 joined #rest |
14:36 |
|
|
mezod joined #rest |
15:23 |
|
|
shrink0r_ joined #rest |
15:25 |
|
|
SlippinJimmy joined #rest |
15:37 |
|
|
graste joined #rest |
15:45 |
|
|
azer_ joined #rest |
17:11 |
|
|
fumanchu joined #rest |
17:29 |
|
|
fumanchu_ joined #rest |
17:31 |
|
|
pgicxplzs joined #rest |
17:34 |
|
|
lemur joined #rest |
18:09 |
|
|
upasana- joined #rest |
18:36 |
|
|
begriffs joined #rest |
18:38 |
|
begriffs |
When you post a new resource the server should send back a Location header, but how do people handle batch posts? Should the server send back a mime multipart response with the locations of each resource? |
18:47 |
|
|
Guest____ joined #rest |
18:48 |
|
Guest____ |
hi people . . . can some of you please have a look at http://stackoverflow.com/questions/28329945/restapis-and-multilingual-representations-post-put-and-delete |
18:52 |
|
vanHoesel |
it's about using the `Content-Language` header field to tell the server what language variant one likes to update or delete for that same single resource |
18:54 |
|
fumanchu_ |
begriffs: a common approach is to make a resource for the batch, which has links to each of the new resources. return the URL of the batch in the Location header |
18:56 |
|
fumanchu_ |
you'll find all kinds of nice side benefits to having a batch resource: info about the post itself, DELETE of the whole batch, even conflict resolution schemes via PATCH and POST to it that don't require re-uploading the whole batch |
19:02 |
|
begriffs |
fumanchu_: oh interesting idea |
19:22 |
|
|
begriffs joined #rest |
19:35 |
|
|
fumanchu joined #rest |
20:08 |
|
|
_ollie joined #rest |
20:56 |
|
|
digitalsanctum joined #rest |
21:19 |
|
|
Andre-B joined #rest |
21:21 |
|
|
Gues_____ joined #rest |
21:25 |
|
|
azer_ joined #rest |
21:59 |
|
|
SlippinJimmy joined #rest |