greptilian logo

IRC log for #rest, 2017-01-25

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:00 sp1rs joined #rest
00:36 foist joined #rest
00:38 fuzzyhorns joined #rest
00:59 sp1rs joined #rest
01:38 sp1rs joined #rest
01:42 tbsf joined #rest
02:04 fuzzyhorns joined #rest
02:17 sp1rs joined #rest
02:19 tbsf joined #rest
02:23 tbsf joined #rest
02:27 tbsf joined #rest
02:56 sp1rs joined #rest
04:53 sp1rs joined #rest
05:20 sp1rs joined #rest
05:43 sp1rs joined #rest
06:39 sp1rs joined #rest
06:46 sp1rs joined #rest
07:08 sp1rs joined #rest
07:58 sp1rs joined #rest
08:11 fuzzyhorns joined #rest
08:20 interop_madness joined #rest
09:11 sp1rs joined #rest
09:12 fuzzyhorns joined #rest
09:44 sp1rs joined #rest
09:53 DrCode joined #rest
10:12 fuzzyhorns joined #rest
10:18 sp1rs joined #rest
11:13 fuzzyhorns joined #rest
11:54 sp1rs joined #rest
12:14 fuzzyhorns joined #rest
12:36 sp1rs joined #rest
13:01 sp1rs joined #rest
13:15 fuzzyhorns joined #rest
13:32 sp1rs joined #rest
13:41 sp1rs joined #rest
14:16 fuzzyhorns joined #rest
14:20 sp1rs joined #rest
14:34 sp1rs joined #rest
14:39 sp1rs joined #rest
15:07 sp1rs joined #rest
15:07 Circuitsoft Well, in this case, there's never any content at all.
15:08 Circuitsoft The request is asking a backend to fill a cache for the frontend to use.
15:08 Circuitsoft And the response is just from the backend to the frontend, saying whether it worked.
15:16 fuzzyhorns1 joined #rest
15:18 shodan` joined #rest
16:17 fuzzyhorns1 joined #rest
16:31 sp1rs joined #rest
16:32 sp1rs joined #rest
16:39 tbsf_ joined #rest
16:44 wsieroci joined #rest
16:53 sp1rs joined #rest
17:12 wsieroci joined #rest
17:18 fuzzyhorns joined #rest
17:19 shodan` joined #rest
17:47 sp1rs joined #rest
18:00 sp1rs joined #rest
18:17 wsieroci joined #rest
18:18 fuzzyhorns joined #rest
18:49 wsieroci joined #rest
18:59 sp1rs joined #rest
19:19 fuzzyhorns1 joined #rest
19:31 wsieroci joined #rest
20:20 fuzzyhorns1 joined #rest
20:26 wsieroci joined #rest
21:21 fuzzyhorns1 joined #rest
21:41 wsieroci_ joined #rest
22:22 fuzzyhorns1 joined #rest
22:55 pdurbin Circuitsoft: maybe you're looking for 204 No Content
22:56 Circuitsoft I guess if I'm sending "Content-Length: 0" then I don't really need to provide a "Content-Type" header.
22:56 Circuitsoft But, 204 does sound good.
22:57 Circuitsoft I'm writing a multi-layer app, where part of the job is done by a "backend" written in Python (under uWSGI) and part is done by a "frontend" written in Lua/OpenResty.
22:57 Circuitsoft Working on some of the interfaces between the layers.
22:59 d4rklit3 joined #rest
22:59 d4rklit3 hi
22:59 d4rklit3 is it ok to accept a payload that may have extra params in the body than required. for instance if i have a react app that sends data to the server, its very convenient to be able to send some extra props and have the server just ignore them as long as the required params are present.
22:59 d4rklit3 we have react front ends and they sometimes give some extra data in the payload that the servers should just disregard
23:00 d4rklit3 everythign gets stored in SQL so i don't see any risks of sql injections or anything like that
23:00 d4rklit3 the fields in the DB are predefined
23:05 pdurbin "be liberal in what you accept" (Postel's law)
23:17 fuzzyhorns joined #rest
23:21 riddle joined #rest

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

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