You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Action

SQL

REST Verb

HTML Method

URI

Invokes

Parameters

Notes

Welcome

Describe

 

GET

/my-resource

MyResource.index

...

 

Create

Insert

PUT

POST

/my-resource

MyResource.create

...

 

Read

Select

GET

GET

/my-resource/-id

MyResource.read

...

 

Update

Update

POST

POST

/my-resource/-id

MyResource.update

id="id"

with one or more POST attributes

Delete

Delete

DELETE

POST

/my-resource/-id

MyResource.delete

id="id"

with zero POST attributes (or single delete attribute )

  • No labels