Time |
S |
Nick |
Message |
02:20 |
|
|
Coldblackice joined #rest |
02:27 |
|
|
Coldblackice_ joined #rest |
02:42 |
|
|
wsiqueir joined #rest |
02:43 |
|
|
lemur joined #rest |
03:32 |
|
|
baweaver joined #rest |
04:02 |
|
|
`0660 joined #rest |
04:07 |
|
|
fuzzyhorns joined #rest |
06:45 |
|
|
_ollie joined #rest |
06:53 |
|
|
Coldblackice_ joined #rest |
06:56 |
|
|
Coldblackice_ joined #rest |
07:18 |
|
|
Coldblackice_ joined #rest |
07:21 |
|
|
Coldblackice_ joined #rest |
07:24 |
|
|
Coldblackice_ joined #rest |
07:42 |
|
|
interop_madness joined #rest |
08:08 |
|
|
Coldblackice_ joined #rest |
08:32 |
|
|
rosstuck joined #rest |
08:35 |
|
|
quimrstorres joined #rest |
08:37 |
|
|
saml joined #rest |
08:37 |
|
|
mamund joined #rest |
08:37 |
|
|
vlakarados joined #rest |
08:37 |
|
|
gamache_ joined #rest |
08:37 |
|
|
alxbl joined #rest |
08:37 |
|
|
EnergyCoffee joined #rest |
08:46 |
|
|
graste joined #rest |
10:12 |
|
|
Coldblackice joined #rest |
10:36 |
|
|
darkangel joined #rest |
10:38 |
|
darkangel |
What is the best format for sending complex data, for example an entity as well as child entities (e.g. a poll and its associated poll options): JSON? form-data with [] array syntax? Something else? |
10:39 |
|
|
quimrstorres joined #rest |
10:58 |
|
pdurbin |
JSON |
11:10 |
|
darkangel |
pdurbin: ok, thx. |
11:53 |
|
pdurbin |
that was easy :) |
11:53 |
|
|
quimrstorres joined #rest |
12:08 |
|
darkangel |
pdurbin: Not really. :) ... I'm very confused actually. form-data is more commonly used for input from what I can tell, and it also supports file uploads, which is not possible with JSON (or at least not efficient). However, we're using Swagger and I don't think that it supports array notation/child objects in form data. |
12:23 |
|
trygvis |
darkangel: form-data is not very common |
12:24 |
|
darkangel |
trygvis: I mean application/x-www-form-urlencoded |
12:26 |
|
darkangel |
Based on some very quick research (http://ctrlv.in/615102) |
12:27 |
|
pdurbin |
interesting |
12:30 |
|
|
jonatasbaldin joined #rest |
12:45 |
|
darkangel |
Does anyone have examples of large/popular APIs consuming JSON (not producing, as almost all of them do). |
12:46 |
|
darkangel |
(other than GitHub) |
12:46 |
|
|
fuzzy_horns joined #rest |
12:49 |
|
|
fuzzyhor_ joined #rest |
13:08 |
|
|
quimrstorres joined #rest |
14:04 |
|
|
foist joined #rest |
14:51 |
|
|
wsiqueir joined #rest |
14:58 |
|
|
Coldblackice joined #rest |
15:14 |
|
|
vanHoesel joined #rest |
15:36 |
|
|
vanHoesel joined #rest |
15:42 |
|
|
vanHoesel joined #rest |
15:45 |
|
|
quimrstorres joined #rest |
15:52 |
|
|
vanHoesel joined #rest |
16:42 |
|
|
darkangel left #rest |
16:50 |
|
|
vanHoesel joined #rest |
17:10 |
|
|
quimrsto_ joined #rest |
17:47 |
|
|
jatb joined #rest |
18:16 |
|
|
quimrstorres joined #rest |
18:39 |
|
|
vanHoesel joined #rest |
20:08 |
|
|
ionas joined #rest |
20:09 |
|
ionas |
in terms of security, in case of https, does it make a difference if a password/username is transmitted as a query string or as a http header? |
20:11 |
|
pdurbin |
ionas: if you make people put passwords in a query string your web server will probably log them |
20:11 |
|
ionas |
pdurbin: good note |
20:11 |
|
sfisque |
and cache them as well |
20:12 |
|
trygvis |
and it breaks the concept of "resource" which is kinda important when it comes to REST |
20:13 |
|
sfisque |
unless the resource production is dependent upon acl's but still embedding security into the url string is just terrible |
20:18 |
|
ionas |
so http header or http-digest is a good way? |
20:18 |
|
ionas |
header woudl be like X-Username, X-Password |
20:19 |
|
pdurbin |
I think a header is fine. Or HTTP Basic Auth. You should probably use tokens rather than passwords though. |
20:19 |
|
whartung |
Authorization header ionas |
20:19 |
|
whartung |
yea, jus tuse BASIC Auth |
20:20 |
|
sfisque |
basic auth is via header, but uses a predfined header with the payload base64'ed |
20:20 |
|
ionas |
whartung: with Authorization headers you mean HTTP digest right |
20:20 |
|
whartung |
no, I mean authorization headers. HTTP Digest is one form of BASIC auth that uses the Authorization header |
20:20 |
|
ionas |
what I mean is custom headers like X-Username, X-Password would work as well |
20:20 |
|
whartung |
ther'es no reason to use those |
20:21 |
|
whartung |
there are already standards that do that |
20:21 |
|
ionas |
cause HTTP Digest does that job for you |
20:21 |
|
ionas |
ok |
20:21 |
|
whartung |
(Such as HTTP Basic) |
20:21 |
|
whartung |
yea |
20:21 |
|
whartung |
no reason to make that stuff up |
20:21 |
|
ionas |
https://en.wikipedia.org/wiki/Digest_access_authentication right |
20:21 |
|
whartung |
if you're running HTTPs, there's no reason to even use DIGEST |
20:21 |
|
ionas |
the headers will be tunnled through https as well right |
20:21 |
|
whartung |
yes |
20:22 |
|
ionas |
I can combine both and in case https has its issues digest is a 2nd layer. |
20:23 |
|
whartung |
if https has issues you have other real problems. |
20:26 |
|
ionas |
oh I don’t mean “our” https ;) |
20:26 |
|
ionas |
but you are right |
21:25 |
|
|
quimrstorres joined #rest |
21:52 |
|
|
quimrstorres joined #rest |
22:45 |
|
|
zama joined #rest |
23:05 |
|
|
Wildblue` joined #rest |
23:05 |
|
|
Wildblue` joined #rest |
23:05 |
|
|
Wildblue` joined #rest |
23:06 |
|
|
Wildblue` joined #rest |
23:06 |
|
|
Wildblue` joined #rest |
23:06 |
|
|
Wildblue` joined #rest |
23:07 |
|
|
Wildblue` joined #rest |
23:07 |
|
|
Wildblue` joined #rest |
23:07 |
|
|
Wildblue` joined #rest |
23:08 |
|
|
Wildblue` joined #rest |
23:08 |
|
|
Wildblue` joined #rest |
23:08 |
|
|
Wildblue` joined #rest |
23:09 |
|
|
Wildblue` joined #rest |
23:09 |
|
|
Wildblue` joined #rest |
23:09 |
|
|
Wildblue` joined #rest |
23:10 |
|
|
Wildblue` joined #rest |
23:10 |
|
|
Wildblue` joined #rest |
23:11 |
|
|
Wildblue` joined #rest |
23:11 |
|
|
Wildblue` joined #rest |
23:11 |
|
|
Wildblue` joined #rest |
23:12 |
|
|
Wildblue` joined #rest |
23:12 |
|
|
Wildblue` joined #rest |
23:12 |
|
|
Wildblue` joined #rest |
23:13 |
|
|
Wildblue` joined #rest |
23:13 |
|
|
fuzzyhorns joined #rest |
23:13 |
|
|
Wildblue` joined #rest |
23:13 |
|
|
Wildblue` joined #rest |
23:14 |
|
|
Wildblue` joined #rest |
23:14 |
|
|
Wildblue` joined #rest |
23:14 |
|
|
Wildblue` joined #rest |
23:15 |
|
|
Wildblue` joined #rest |
23:15 |
|
|
Wildblue` joined #rest |
23:15 |
|
|
Wildblue` joined #rest |
23:16 |
|
|
Wildblue` joined #rest |
23:16 |
|
|
Wildblue` joined #rest |
23:16 |
|
|
Wildblue` joined #rest |
23:17 |
|
|
Wildblue` joined #rest |
23:17 |
|
|
Wildblue` joined #rest |
23:17 |
|
|
Wildblue` joined #rest |
23:18 |
|
|
Wildblue` joined #rest |
23:18 |
|
|
Wildblue` joined #rest |
23:18 |
|
|
Wildblue` joined #rest |
23:19 |
|
|
Wildblue` joined #rest |
23:19 |
|
|
Wildblue` joined #rest |
23:19 |
|
|
Wildblue` joined #rest |
23:20 |
|
|
Wildblue` joined #rest |
23:20 |
|
|
Wildblue` joined #rest |
23:21 |
|
|
Wildblue` joined #rest |
23:21 |
|
|
Wildblue` joined #rest |
23:21 |
|
|
Wildblue` joined #rest |
23:21 |
|
|
Wildblue` joined #rest |
23:22 |
|
|
Wildblue` joined #rest |
23:22 |
|
|
Wildblue` joined #rest |
23:23 |
|
|
Wildblue` joined #rest |
23:23 |
|
|
Wildblue` joined #rest |
23:23 |
|
|
Wildblue` joined #rest |
23:24 |
|
|
Wildblue` joined #rest |
23:24 |
|
|
Wildblue` joined #rest |
23:24 |
|
|
Wildblue` joined #rest |
23:25 |
|
|
Wildblue` joined #rest |
23:25 |
|
|
Wildblue` joined #rest |
23:25 |
|
|
fuzzyhorns joined #rest |
23:25 |
|
|
Wildblue` joined #rest |
23:26 |
|
|
Wildblue` joined #rest |
23:26 |
|
|
Wildblue` joined #rest |
23:26 |
|
|
Wildblue` joined #rest |
23:27 |
|
|
Wildblue` joined #rest |
23:27 |
|
|
Wildblue` joined #rest |
23:27 |
|
|
Wildblue` joined #rest |
23:28 |
|
|
Wildblue` joined #rest |
23:28 |
|
|
Wildblue` joined #rest |
23:28 |
|
|
Wildblue` joined #rest |
23:29 |
|
|
Wildblue` joined #rest |
23:29 |
|
|
Wildblue` joined #rest |
23:29 |
|
|
Wildblue` joined #rest |
23:30 |
|
|
Wildblue` joined #rest |
23:30 |
|
|
Wildblue` joined #rest |
23:30 |
|
|
Wildblue` joined #rest |
23:31 |
|
|
Wildblue` joined #rest |
23:31 |
|
|
Wildblue` joined #rest |
23:31 |
|
|
Wildblue` joined #rest |
23:32 |
|
|
Wildblue` joined #rest |
23:32 |
|
|
Wildblue` joined #rest |
23:32 |
|
|
Wildblue` joined #rest |
23:33 |
|
|
Wildblue` joined #rest |
23:33 |
|
|
Wildblue` joined #rest |
23:33 |
|
|
Wildblue` joined #rest |