Skip to content

Instantly share code, notes, and snippets.

@whtswrng
Created November 7, 2018 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whtswrng/b911b22473c615292d942ecaa7ff1133 to your computer and use it in GitHub Desktop.
Save whtswrng/b911b22473c615292d942ecaa7ff1133 to your computer and use it in GitHub Desktop.
const response = await requestPromise.post({
uri: `${API_BASE_URL}/api/oauth2/auth?${req.body.formQuery}`,
body: req.body,
json: true,
strictSSL: false,
resolveWithFullResponse: true,
simple: false,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment