1
0
Fork 0
arangodb/Documentation/DocuBlocks/JSF_foxx_controller_delete.md

916 B

//////////////////////////////////////////////////////////////////////////////// /// @startDocuBlock JSF_foxx_controller_delete /// /// Controller.delete(path, callback) /// /// Defines a new route on path that handles requests from the HTTP verb delete. /// This route can also be 'parameterized' like /goose/:barn. /// In this case you can later get the value the user provided for barn /// via the params function in the request. /// The function defined in callback will be invoked whenever this type of /// request is recieved. /// callback get's two arguments request and response, see below for further /// information about these objects. /// /// @EXAMPLES /// /// js /// app.delete('/goose/barn', function (req, res) { /// // Take this request and deal with it! /// }); /// /// /// @endDocuBlock ////////////////////////////////////////////////////////////////////////////////