Cannot access REST api.
See original GitHub issueUpgraded to v2. Config file is:
port: 9411
config: {
// customCommand: {}, // Optional, See "Using Custom Commands" below
// customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
showModuleApiMenu: true, // Optional, Enable the Module Controls menu
apiKey: "", // Optional, See API/README.md for details
}
I can access and use web ui just fine.
From home directory I run:
curl -X GET http://localhost:9411/api/monitor/off
Output:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/monitor/off</pre>
</body>
</html>
Is there something I need to do to enable the API?
I have installed/ updated manually and via the script with no failures.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:20
Top Results From Across the Web
Can't access REST API while using spring boot - Stack Overflow
I hope someone can help me :) After i start the spring boot app and send a request via curl to localhost:8080, there...
Read more >REST API "Unable to connect to the remote server" - OutSystems
Hi everyone,. I am trying to consume an API, but I don't have any response in Outsystems. I've tried it in Postman and...
Read more >Site Kit cannot access the WordPress REST API. Please ...
I installed a brand new version of WordPress and the first think I wanted to do was install SiteKit. Site Kit cannot access...
Read more >Cannot Access REST API over HTTPS | GE Digital
When you try to access the Plant Applications REST API using HTTPS, the system does not connect to the REST API. Resolution: Configure...
Read more >Cannot access the Reporting REST service. (serviceUrl = '/api ...
Solution. There are two possible reasons for this error: The REST Service is missing or not configured correctly: In order to identify that,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I GOT IT!!! Finally. With a bit of debugging and inserting a lot of
console.log
statements. 😉 To all, who might have the same issue: Make sure, you do not have any more files or folders in "MagicMirror\modules" folder, than actually necessary!!! Cheers, Tim.Same here - not working with error “
cannot GET
”