Hello! I'm trying to use the Content Server Search API in a .NET application. I'm able to access the REST API and get an authentication token, but I can't seem to be able to pass it in the actual search call the way the server wants me to. It keeps returning an HTML login page. Going off of the search documentation, my url is:
GET http://<server>/otcs/cs.exe?func=search&<search parameters>
I've found several different ways to pass the authentication token on different forums and documentations. I've tried adding an OTCSTicket header, several different iterations of the Authentication header, putting the token in the url, and pretty much anything else I could think of, all to no avail. I've poked around on the server to see if something somewhere was misconfigured, but I can't see anything obvious. So basically, I'm asking what the official approved way is to authenticate a call to the Content Server Search API. Thanks!