by trial version, are you using the one on the BMC site? did you get a trial version and install it locally?
I'm pretty sure the one on the BMC site would not allow API calls to it.
I am using BMC Site. Does not make sense if the Trial/Demo on BMC Cloud does not have the option to call REST API. Not sure which tool to download and try the same on my local desktop. sorry I am new o BMC tools.
BMC Discovery trial version available on BMC Site is there to provide a large overview of the features but is not the full tool. REST API is part of the disabled features. This is similar for BMC Discovery Community edition available for download on BMC site - The Community Edition - BMC Discovery 11.3 - BMC Documentation.
If you need more features, please contact BMC Sales.
Thanks for letting me know Brice-Emmanuel.
Looks like I need a BMC Discovery license to try out REST APIs. :-(