Forum Discussion
HI SajithaVasu
I've been looking at OAuth quite recently myself and I'm struggling!
Anyway - this is not the perfect answer you want - but perhaps it can get you further than I did.
The following link 'Oauth Automation Example' has some JavaScript and groovy to do different parts of what you need.
The groovy bit is the 'calling the automated retrieval' bit - there are groovy to javascript converters (no doubt not perfect - but it might get you a little further) - see githublink - this would still need some work on your side I suspect - but it might get you close to what you need?
sorry I cant be of more help,
richie