I have a pre-request script and an endpoint which I can use to fetch access token in postman. How can I use the same script in Salesforce to get the access token?

  • Hi user51241, could you please edit your question to add more details about exactly what you are doing and include the code you're trying to use? I for one am not sure what a "pre-request script" is, or whether you're writing Apex or some other language, and in what context you are working. – David Reed Feb 1 at 13:40
  • Why are you using postman to fetch an access token? Can't you just do that with an sfdx auth request? – pchittum Feb 2 at 22:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.