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
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories