greptilian logo

IRC log for #rest, 2015-02-02

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:41 quimrstorres joined #rest
00:47 shrink0r_ joined #rest
01:13 lemur joined #rest
01:16 _ollie joined #rest
01:42 quimrstorres joined #rest
01:44 huckleberry78 joined #rest
01:47 shrink0r joined #rest
02:59 tr3online joined #rest
03:14 tr3onlin_ joined #rest
03:42 _ollie1 joined #rest
03:55 shrink0r_ joined #rest
04:09 _ollie joined #rest
04:40 tr3online joined #rest
04:54 tr3online joined #rest
04:55 tr3online joined #rest
05:22 huckleberry78 joined #rest
05:29 proteusguy joined #rest
05:32 tr3onlin_ joined #rest
06:54 DrCode joined #rest
07:11 huckleberry78 joined #rest
07:22 greenride joined #rest
07:23 greenride What error code should be used when a resource is requested that requires a server to contact a second resource but that second resource is not available due to bad data provided by the original client?
07:24 Jarda 400?
07:25 greenride What if the bad data is itself a url?
07:25 greenride Is it still a 400?
07:25 Jarda what other options do you have?
07:25 Jarda http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
07:25 trygvis what the middle server does is not really relevant, a client is sending a request to a server
07:26 greenride 301? (I know this is wrong but wondering if something else is available.)
07:27 Jarda 301 is absolutely wrong if the url goes in the payload section
07:27 Jarda and the remote client should not be worried about your server/service implementation details
07:27 greenride What about 404?
07:28 Jarda still about the request URI, not the payload
07:28 greenride Jarda: Thanks
07:28 greenride That makes sense.
07:28 Jarda "The server has not found anything matching the Request-URI."
07:28 Jarda from 404 semantics
07:29 Jarda you should read the linked document through
07:29 greenride I actually read parts of that document before posting. I just wanted confirmation.
07:29 greenride Jarda: Thanks for the reply.
07:30 greenride trygvis: Thanks
07:38 shrink0r joined #rest
08:10 six86 joined #rest
08:15 six86 Hello. I have a short question to REST. I have three layers in a system: a kind of a hub that forwards messages to units on the bottom layer. These Units can connect and disconnect dynamically. They register on the "hub" with a POST message and receive an identification token. When the hub receives a message, it will forward the message to the "units" depending on some metadata. The Problem now is: When a unit goes offline due to an error or somethin
08:15 six86 Would a keep-alive PUT message be RESTful? As it is all about having no state on the Server, how can such a scenario be implemented with all layers communicating restully?
08:18 rosstuck joined #rest
08:38 trygvis six86: that doesn't sound very restful :)
08:41 DrCode joined #rest
08:42 greenride left #rest
08:45 rhyselsmore joined #rest
08:54 _ollie joined #rest
08:56 DrCode joined #rest
09:00 huckleberry78 joined #rest
09:11 graste joined #rest
09:12 huckleberry78 joined #rest
09:27 shrink0r joined #rest
09:46 huckleberry78 joined #rest
09:53 Andre-B_ joined #rest
09:57 quimrstorres joined #rest
10:01 quimrstorres joined #rest
10:06 six86 trygvis: And because of that I'm asking how to do it
10:08 martinfilliau joined #rest
10:32 Left_Turn joined #rest
10:48 tr3online joined #rest
11:11 shrink0r joined #rest
11:15 _ollie joined #rest
11:44 huckleberry78 joined #rest
12:11 quimrstorres joined #rest
12:12 mezod joined #rest
13:21 six86 joined #rest
13:26 six861 joined #rest
13:50 Andre-B_ joined #rest
13:56 Mxyzpltk joined #rest
14:26 Angry_Roy_Fieldi joined #rest
14:34 quimrstorres joined #rest
14:49 quimrstorres joined #rest
15:06 proteusguy joined #rest
15:15 Left_Turn joined #rest
15:16 lemur joined #rest
15:31 saml joined #rest
15:33 quimrsto_ joined #rest
15:44 Angry_Roy_Fieldi joined #rest
15:45 six861 left #rest
15:46 asaladin joined #rest
15:48 asaladin hi
15:52 asaladin I would like to manage amqp queues with a restful api. I need a way to command the action of moving messages from one queue to another one.
15:52 asaladin I know rest is about nouns, not verbs
15:58 saml asaladin, DELETE and PUT ?
15:58 saml GET the message. PUT it to new queue. DELETE old message
15:59 asaladin saml: too many messages to do in from web browser. The move is done with a loop by the server
15:59 saml do POST then
16:00 saml POST /queues/1/messages/1         with body describing where to move that message. and subsequent GET /queues/1/messages/1  will be 301  to /queues/2/messages/232
16:01 saml webdav has MOVE verb :P
16:02 asaladin saml, thanks !
16:17 Mxyzpltk joined #rest
16:18 saml joined #rest
16:31 fumanchu joined #rest
16:39 tr3online joined #rest
17:05 tr3online joined #rest
17:09 _ollie joined #rest
17:43 punksystec joined #rest
17:49 punksystec Hello I'm new in REST, I have a problem: Forein table generate embebbed object in rest calls in formas JSON, is posible evitate?
17:52 punksystec I'm using Java gor generate classes and Hibernate
18:06 _ollie joined #rest
18:09 punksystec I find it in http://www.infoq.com/presentations/Some-REST-Design-Patterns
18:09 punksystec thanks
18:11 shrink0r joined #rest
19:05 quimrstorres joined #rest
19:21 rhyselsmore joined #rest
19:27 Andre-B joined #rest
19:34 shrink0r joined #rest
19:35 saml proxy is http glass.  what's http mirror then?
19:37 fumanchu mod_echo?
19:38 saml if i get ddos'ed, i want to set up mirror and reflect to other server and back to attacker
19:39 saml maybe mod_proxy with dynamic backend configuration
20:03 _ollie joined #rest
20:28 quimrstorres joined #rest
20:46 quimrstorres joined #rest
20:50 shrink0r joined #rest
20:53 quimrstorres joined #rest
20:55 shrink0r_ joined #rest
20:58 quimrstorres joined #rest
21:14 quimrstorres joined #rest
21:28 tr3online joined #rest
22:40 quimrstorres joined #rest
23:58 shrink0r joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/