dan-bc

Sample BetterCloud Pre-Request Script

Nov 30th, 2021 (edited)
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. module.exports = (input, callback) => {
  2. input.request.headers.Accept = "application/json";

  3. input.request.headers["Content-Type"] =
  4. "application/json";
  5. callback(input.request);
  6. }
Add Comment
Please, Sign In to add comment