MCPcopy Create free account
hub / github.com/axe-api/axe-api / post

Function post

packages/integrations/tests/helper.js:16–22  ·  view source on GitHub ↗
({ url, data, status })

Source from the content-addressed store, hash-verified

14};
15
16const post = async ({ url, data, status }) => {
17 return await request("localhost:3000")
18 .post(url)
19 .send(data)
20 .expect("Content-Type", /json/)
21 .expect(status);
22};
23
24const put = async ({ url, data, status }) => {
25 return await request("localhost:3000")

Callers 3

01-user.spec.jsFile · 0.90
02-hooks.spec.jsFile · 0.90
02-post.spec.jsFile · 0.90

Calls 2

sendMethod · 0.80
postMethod · 0.80

Tested by

no test coverage detected