How to use the del function from superagent
Find comprehensive JavaScript superagent.del code examples handpicked from public code repositorys.
GitHub: tinderjs/tinderjs
80 81 82 83 84 85 86 87 88 89
* @param {String} path the relative path * @param {Object} data an object containing extra values * @param {Function} callback the callback to invoke when the request completes */ var tinderDelete = function(path, data, callback) { request.del(TINDER_HOST + path) .set(getRequestHeaders()) .send(data) .end(callback); };
61
71
10
+ 3 other calls in file
GitHub: TaoEvan/Dyeify
6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026
* @param {BaseRequest} The request. * @param {Function} The callback function. */ HttpManager.del = function(request, callback) { var options = _getParametersFromRequest(request); var method = superagent.del; HttpManager._makeRequest(method, options, request.getURI(), callback); };
2
0
1
+ 3 other calls in file
superagent.get is the most popular function in superagent (1221 examples)