Rest Entity
Parameters
resource
definition of the Resource
initial Id
id to compare a given resource for differentiation of adding or updating
content Type
to be used by the REST-API
remote
base Request to be used by all subsequent requests. Use it to configure authentication, etc.
Constructors
Functions
Link copied to clipboard
sends a post-(for add) or a put-(for update) request to remote/{id} with the serialized entity in it's body. The initialId is used to determine if it should add or updated.