Instantly share code, notes, and snippets.

Embed
What would you like to do?
const response = await requestPromise.post({
uri: `${API_BASE_URL}/api/new/cool/auth?${req.body.formQuery}&some="garbage"`,
body: {somethingNew: req.body.newStaff, username: req.body.username},
json: true,
resolveWithFullResponse: true,
simple: false,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment