Skip to main content

Python or JS documentation to call the APIs

Comments

3 comments

  • Matt Welch

    Hi Amiteshwar,

    We don't have examples like that yet, but thanks for the suggestion. We're examining how we might help developers build on the Toast Platform, and comments like this help us understand what tools might be valuable.

    Matt

    0
  • Amiteshwar Mann

    Thanks for the response Matt Welch. I was curious how the pm.sendRequest() would look like if called in Javascript. Is it just a normal fetch function (with the authentication object as one of the parameters)? Looking forward to your experienced response!

    0
  • Matt Welch

    There are any number of ways to make requests in node/javascript. Postman has a very opinionated way of running pre-request scripts. It might me helpful to just look at the authentication documentation and build your node code from that, rather than trying to copy the Postman code directly, though it can certainly serve as inspiration! You can look at the docs for sendRequest here.

    0

Please sign in to leave a comment.