AnsweredAssumed Answered

How to create json table and import data in json table using rest api and curl command?

Question asked by rushabh.shah on Jun 4, 2018
Latest reply on Jun 5, 2018 by Mufy

Certificate verification failed : 

 

curl -insecure -X POST    'http[s]://<host>:<port>/rest/table/create?path=<path>'   -u <username>:<password> -bulkload true -tabletype json -v

 

Below is verbose communication :

 

found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 596 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_CBC_SHA384
* server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
* Closing connection 0
* Rebuilt URL to: true/
* Couldn't find host true in the .netrc file; using defaults
* Could not resolve host: true
* Closing connection 1
* Rebuilt URL to: json/
* Couldn't find host json in the .netrc file; using defaults
* Could not resolve host: json
* Closing connection 2

Outcomes