REST POST request using OAuth authentication

Hi,
I am developing a powershell script to create incident in Jira service desk and i was successful in using Invoke-RestMethod method using basic authentication.
I wanted to use Oauth and I didn’t find any relevant document for authentication in powershell, i did able to use query/get by java OAuthTutorialClient-1.0.jar by following https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication thread. Need help to use post method for incident creation with the OAuthTutorialClient-1.0.jar or by any other mean with oauth authentication

2 Likes