C:\dspace-angular-dspace-7.5>yarn test:rest
yarn run v1.22.22
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
Building production app config
Overriding app config with C:\dspace-angular-dspace-7.5\config\config.yml
Overriding app config with C:\dspace-angular-dspace-7.5\config\config.prod.yml
...Testing connection to REST API at
http://localhost:8080/server/api...
RESPONSE: 404
ERROR: INVALID DSPACE REST API! Response is not valid JSON!
Response returned:
<!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> The requested resource [/server/api] is not available</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/9.0.95</h3></body></html>
Done in 6.71s.