In your scenario, POSTMAN is replaced by AEM to access the API endpoint, hence you may not need -- post.setHeader("Postman-Token", "xxxx"); You may go through following links to set up OAuth. There are a lot of articles available on AEM-OAuth integration in this forum and on web:https://helpx.adob...