Error using WebReport to call REST API for authenticating Content Server
Hello everyone,
I have this basic WebReport as follows:
[LL_WEBREPORT_EXCLUDEHTML /]
[LL_WEBREPORT_RESTCLIENT
@HOST:[LL_REPTAG_$host /]
@PORT:[LL_REPTAG_$port /]
@URI:/OTCS/cs.exe/api/v1/auth
@METHOD:POST
@TIMEOUT:10
@USERNAME:[LL_REPTAG_$username /]
@PASSWORD:[LL_REPTAG_$password /]
@OUTPUT:ASSOC:outputAssoc /]
[LL_REPTAG_!outputAssoc ASSOC:AuthAssoc /]
<br>
[LL_REPTAG_!outputAssoc /]
However, when I tried to run this web report, I got an error like so:
Does anyone have any idea? Thank you in advance!
Comments
-
Used to send requests to external Rest APIs. Using this tag to make Rest requests to the current Content Server system isn't supported.
If you need OTCSTicket just use this tag: [LL_REPTAG_OTCSTICKET /]
0 -
@VasylZasetskyi , can you let me know if we can pass the certificate and key along with the REST API call,
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 184 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories