This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 11, 2014, 8:49 PM
59 Posts

solved

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: das
  • Replies: 3

Seems that if I specify 'https' in my URL, I create a new document. If it is just 'http' (without the 's'), I get back a list of documents in json format.

Aug 12, 2014, 7:52 PM
19 Posts
Very strange ...
Apparently, when you use HTTP to send a POST request, it is changed to a GET request before the data service sees it.  I'm assuming that's the case because "GET /{database}/api/data/documents" should return a list of documents.

I can't explain why that's happening.  Also, I can't explain why you have better results with HTTPS, but maybe that's beside the point.  In the long run, it is definitely better to use HTTPS.    

-- Dave

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal