greptilian logo

IRC log for #rest, 2015-04-24

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:05 happyface joined #rest
00:35 daxim joined #rest
04:57 whartung joined #rest
07:14 graste joined #rest
07:59 angular_mike joined #rest
08:17 quimrstorres joined #rest
08:20 shrink0r joined #rest
08:28 quimrstorres joined #rest
08:32 Left_Turn joined #rest
10:17 quimrstorres joined #rest
11:45 blahdeblah_ joined #rest
13:14 quimrstorres joined #rest
13:30 saml joined #rest
13:41 zama joined #rest
14:15 sfisque joined #rest
15:16 foist joined #rest
16:29 shrink0r joined #rest
16:42 StatelessCat joined #rest
18:17 autrilla__ joined #rest
18:17 autrilla__ What is the RESTful way to send data in a GET request? Is that even RESTful? In my case, I want to get a list of temperatures given a start and end date (and time), but I have no idea how to do it
18:19 autrilla__ Appending ?startdate="whatever",enddate="whatever" doesn't seem like a good idea
18:19 asdf` autrilla__, how so? this is how it's usually done
18:20 autrilla__ It looks ugly
18:20 autrilla__ It doesn't seem to belong in the uri
18:31 fumanchu it exactly belongs in the URL since it identifies the resource whose representation you're GET'ing
18:32 fumanchu different params = different URI = different resource = different response
18:33 autrilla_ joined #rest
18:36 quimrstorres joined #rest
18:44 pdurbin how does one use .Net to do what curl does?
18:44 pdurbin this is why I'm asking: https://groups.google.com/d/msg/dataverse-community/a5aZhFWmjo4/E_NwMYEgLi4J
18:51 autrilla_ fumanchu, yes, but as params? Wouldn't /startdate/enddate/ be better?
18:53 fumanchu autrilla_: only "better" if it looks nicer to you or your framework. It's the same to the protocol
18:53 autrilla_ Well REST is not a protocol really... more like guidelines
18:55 pdurbin first two hits when I searched: http://unirest.io/net.html and http://restsharp.org
18:58 fumanchu sorry, I assumed you were using HTTP
19:07 quimrstorres joined #rest
19:35 quimrstorres joined #rest
20:22 shrink0r joined #rest
20:27 shrink0r_ joined #rest
20:32 quimrstorres joined #rest
20:59 warehouse13 joined #rest
21:00 shrink0r joined #rest
21:01 pgicxplzs joined #rest
21:02 shrink0r joined #rest
21:05 shrink0r_ joined #rest
21:07 warehouse13 joined #rest
21:08 shrink0r joined #rest
21:15 pgicxplzs joined #rest
21:21 warehouse13 joined #rest
21:28 pgicxplzs joined #rest
21:37 quimrstorres joined #rest
21:42 shrink0r joined #rest
21:43 shrink0r_ joined #rest
21:45 shrink0r joined #rest
21:47 shrink0r_ joined #rest
21:52 warehouse13 joined #rest
21:56 StatelessCat joined #rest
21:57 StatelessCat joined #rest
21:58 warehouse13 joined #rest
22:00 pgicxplzs joined #rest
22:02 shrink0r joined #rest
22:30 vanHoesel joined #rest
22:35 StatelessCat joined #rest
22:37 quimrstorres joined #rest
22:47 shrink0r_ joined #rest
22:49 shrink0r joined #rest
23:14 vanHoesel joined #rest
23:36 fumanchu_ joined #rest
23:38 quimrstorres joined #rest

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

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