(url, data = {}, callback, method = 'GET')
| 245 | * @return {undefined} |
| 246 | */ |
| 247 | const publicRequest = (url, data = {}, callback, method = 'GET') => { |
| 248 | let opt = reqObj(url, data, method); |
| 249 | proxyRequest(opt, callback); |
| 250 | }; |
| 251 | |
| 252 | // XXX: This one works with array (e.g. for dust.transfer) |
| 253 | // XXX: I _guess_ we could use replace this function with the `qs` module |
no test coverage detected