Time |
S |
Nick |
Message |
00:57 |
|
|
tbsf joined #rest |
02:00 |
|
|
fuzzyhorns joined #rest |
02:54 |
|
|
ShekharReddy joined #rest |
06:55 |
|
|
_ollie joined #rest |
07:24 |
|
|
Tomatosoup- joined #rest |
07:25 |
|
|
timg__ joined #rest |
07:33 |
|
|
timg__ joined #rest |
10:49 |
|
|
ShekharReddy joined #rest |
11:28 |
|
|
tonyacunar joined #rest |
11:38 |
|
|
_ollie joined #rest |
11:49 |
|
|
tonyacunar joined #rest |
11:58 |
|
|
tonyacunar joined #rest |
13:24 |
|
|
Macaveli joined #rest |
15:31 |
|
|
tbsf joined #rest |
15:49 |
|
|
vishnurao joined #rest |
16:08 |
|
|
Macaveli joined #rest |
16:21 |
|
|
sfdebug joined #rest |
16:24 |
|
sfdebug |
hi, does anyone can help me with a doubt? i don't know if it breaks a REST constraint: i have a WS that is to create medias... the client upload the media and the WS get the file and put on a blob and record information about the file on a database... |
16:24 |
|
sfdebug |
the doubt is: |
16:24 |
|
sfdebug |
if i send more than one media in the same request, does it break some REST constraint in any way? |
16:43 |
|
whartung |
no, that's why we have multipart media formats |
16:44 |
|
whartung |
for example, you could post a multipart message with a JPEG and PNG of the same picture. Then, when you do a GET with the proper media type on the header, the server can reply with the proper resource. |
16:51 |
|
sfdebug |
whartung, thanks by response... i was reading here on the https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm (Roy Fielding's dissertation) and i couldn't find anything that says that it would be wrong make a request to create multiple resources in a request... |
16:52 |
|
whartung |
no, of course not |
16:52 |
|
whartung |
POST /order {new order resource}…which creates the ORDER resource, a PICK LIST resource, a FULFILLMENT resource, a SHIPPING TRACKING resource, etc. |
16:54 |
|
|
wsieroci joined #rest |
17:21 |
|
|
Coldblackice joined #rest |
19:48 |
|
|
Tomatosoup- joined #rest |
21:06 |
|
|
foist joined #rest |
22:54 |
|
|
fuzzyhorns joined #rest |
23:17 |
|
|
tonyacunar joined #rest |