greptilian logo

IRC log for #rest, 2017-01-17

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
02:53 Haudegen joined #rest
04:03 sp1rs joined #rest
04:23 sp1rs joined #rest
04:50 sp1rs joined #rest
05:08 sp1rs joined #rest
05:10 sp1rs joined #rest
05:14 sp1rs joined #rest
05:23 sp1rs joined #rest
05:40 tbsf joined #rest
06:23 sp1rs joined #rest
06:31 tbsf joined #rest
06:36 siseko joined #rest
06:50 siseko left #rest
08:07 tbsf joined #rest
08:44 tbsf joined #rest
09:04 sp1rs joined #rest
09:06 sp1rs joined #rest
09:28 interop_madness joined #rest
09:41 sp1rs joined #rest
09:44 SuperHans joined #rest
09:48 SuperHans hi, creating my first rest-api and got a question regarding how to handle join-tables. Lets say i have a user-organisation table, holding a userId and orgId (many to many relation). If i wand to POST a new relation, which would be the most logical path for this? /user/:userId/organisation/:orgId or should i rather make a new path and POST to /userorganisation/ with the data in the body?
10:22 wsieroci joined #rest
10:33 whartung joined #rest
10:37 tbsf joined #rest
10:42 sp1rs joined #rest
11:13 tbsf joined #rest
12:08 SuperHans joined #rest
12:25 tbsf joined #rest
13:01 tbsf joined #rest
13:02 sp1rs joined #rest
14:55 sp1rs joined #rest
16:06 tbsf joined #rest
16:33 sp1rs joined #rest
16:51 sp1rs joined #rest
17:06 sp1rs joined #rest
18:02 sp1rs joined #rest
20:15 DrCode joined #rest
20:20 Davey joined #rest
20:20 Davey joined #rest
20:58 wsieroci joined #rest
21:30 wsieroci_ joined #rest
23:10 fuzzyhorns joined #rest

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

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