Stretchr is different to most RESTful APIs in that it distinguishes between update and replace. The SDK needs to make this clear.
Could do: session.At("people/123").Replace(resource)
Notes:
Stretchr will respond with a CREATE action if an ID is specified but the resource does not exist, should we reflect this in the API? I.e. should it be called ReplaceOrCreate?
Stretchr is different to most RESTful APIs in that it distinguishes between update and replace. The SDK needs to make this clear.
session.At("people/123").Replace(resource)
Notes:
ReplaceOrCreate
?