Files
bruno/packages/bruno-tests/collection/scripting/inbuilt modules/nanoid/nanoid.bru
lohit 126c648d7d wip: code cleanup, added axios shim to quick js vm (#2851)
* wip: code cleanup, added axios, nanoid shims for quickjs vm
* wip: test fn fix
* wip: scrip exec fix
* wip: added node-fetch & uuid shims
2024-08-19 10:30:19 +05:30

18 lines
215 B
Plaintext

meta {
name: nanoid
type: http
seq: 1
}
get {
url: {{host}}/ping
body: none
auth: none
}
script:pre-request {
const { nanoid } = require("nanoid");
req.setHeader("transaction-id", nanoid());
}