Content Server Rest API-Authenticate User
Hi,
Currently i am using CS 16.2.4/16.2.6 for Decisiv search integration
The Authenticate user Rest API call with POST is accepting the following form
username=value&password=value (200 OK ,Returned OTCS ticket)
But if i use the below form
username=value;password=value (500 internal server error, "error": "Argument \"password\" is required." )
Because it is not accepting the semicolon(;) i am unable to perform search through Decisiv
What changes should i do in the Content server configuration to work the REST API call with semicolon(;)
Nagesh Gottipati
Lead Software Engineer
OpenText
Comments
-
I haven't ever seen name-value pairs separated by a semicolon before. Using ampersand to separate the name-value pairs is standard practice, and may be the only valid way to do it. According to https://en.wikipedia.org/wiki/POST_(HTTP), "Each key-value pair is separated by an '&' character, and each key is separated from its value by an '=' character." Based on that I would expect the API to return an error, since the name-value pairs are malformed. Is there a reason you are unable to use the & to separate your name-value pairs?
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax