architecture - HTTP method to represent "fire and forget" actions in RESTful service -


thinking rest, it's relatively easy map http methods crud actions: post create, read, etc. "fire , forget" actions? http method best represent fire , forget action such triggering batch job (in no response sent caller)?

post spring mind, think appropriate method because 99% of time supply bunch of parameters these types of actions. think?

post spring mind, think more appropriate method because 99% of time supply bunch of parameters these types of actions. think?

external state

i think number of parameters use has nothing verb use. key issue changing externally visible state?


batchjob resources

in example, if batch job not affect externally visible state of object implement batch job. model batch job resource associated resource container.

you use post create new batchjob resource , allow user see progress of job far. on resource container list of running batch jobs, possibly calling delete kill one.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -