Thanks. I got it right now. I now get Access token. Basically I was passing the params in header but it should have been in payload. However, I'm still getting the Oauth error when I try creating the Shared Entity.
"message": "Oauth token is not valid"
How should I use the obtained Access Token in the subsequent calls?