This is documentation for the next version of K6. For the latest stable release, go to the latest version.
del( url, [body], [params] )
Make a DELETE request.
Returns
Example
import http from 'k6/http';
const url = 'https://quickpizza.grafana.com/api/delete';
export default function () {
const params = { headers: { 'X-MyHeader': 'k6test' } };
http.del(url, null, params);
}