Triggers: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 308: Line 308:
== Processing an HTTP request ==
== Processing an HTTP request ==
Scripts can send HTTP requests to Web services through their APIs.
Scripts can send HTTP requests to Web services through their APIs.
Processing for HTTP requests allows integration between Memento and the system. All file operations use the Http object, which works through global method http().
Processing for HTTP requests allows integration between Memento and the system. All file operations use the Http object, which works through global function http().


HTTP requests must fulfill two requirements:
HTTP requests must fulfill two requirements: