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 '19 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 '19 at 22:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.