greptilian logo

IRC log for #rest, 2016-07-29

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:35 tbsf joined #rest
01:23 fuzzyhorns joined #rest
02:06 fuzzyhorns joined #rest
02:19 bluezone joined #rest
02:34 _ollie joined #rest
05:50 Macaveli joined #rest
07:16 timg__ joined #rest
08:08 Macaveli joined #rest
08:31 tbsf joined #rest
09:27 fuzzyhorns joined #rest
11:08 bluezone joined #rest
11:38 Macaveli joined #rest
11:54 keiserr joined #rest
11:55 Macaveli joined #rest
11:55 keiserr hi does one send a json object to a rest service? got this like of ids I need to send, trying like this {"myid":["bla", "bla2","bla3"]}, doesn't seem to work, i know this isn't really directly rest related, but maybe someone has an idea here?
12:04 Tomatosoup- joined #rest
12:15 ShekharReddy joined #rest
12:26 Tomatosoup- joined #rest
12:41 pdurbin sure, one can send a JSON object to a REST service
12:46 Tomatosoup- joined #rest
13:20 Tomatosoup- joined #rest
14:21 fuzzyhorns joined #rest
14:38 tbsf joined #rest
15:02 ralphschindler joined #rest
15:08 anth0ny joined #rest
15:10 tbsf joined #rest
15:51 dougquaid joined #rest
15:54 dougquaid I've got a mysql database that I'm trying to write an API for. I think I want to use Flask to write a RESTful API but I'm concerned about authentication. Is OAuth a good way to handle auth for a RESTful API?
15:55 mamund keiserr: not sure if you're still here, but a solid approach is to use a structured media type to send data back and forth.
15:55 mamund for REST-y implementations, there is no shared object model between client and server but there *is* a shared messagte model.
15:56 mamund typically, the formats are HAL, Siren, Collection+JSON, etc.
15:56 mamund app/xml and app/json don't have enough structure on their own but are the basis for creating structured types.
15:56 mamund think about the diff between HTML and XML (structured, unstructured).
16:09 tbsf joined #rest
16:19 tbsf joined #rest
16:19 tbsf joined #rest
17:05 whartung You don't want OAuth dougquaid, you want OpenID Connect
17:08 dougquaid Isn't OpenID connect where you log in using your google/facebook/other account?
17:09 whartung The problem with OAuth alone is that it's totally underspecified. The OAuth "standard" out of the box is effectively worthless, esepcially for interoperability. OpenID Connect fills in the missing pieces on top of the model proposed by OAuth.
17:10 whartung And, sure, you could use OpenID Connecti with those services, but you certainly don't have to.
17:10 whartung If you're connecting through services (vs your browser), then I'm content with BASIC over SSL
17:20 timg__ joined #rest
17:32 Coldblackice joined #rest
17:45 ShekharReddy joined #rest
18:10 fuzzyhorns joined #rest
18:35 timg__ joined #rest
19:02 timg__ joined #rest
19:07 fuzzyhorns joined #rest
20:37 ShekharReddy joined #rest
21:19 Coldblackice joined #rest
22:03 timg__ joined #rest
22:23 timg__ joined #rest

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

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