From ec775384752d780477cd1b74f0c37c8d2c7f6c08 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 1 Feb 2016 13:42:27 +0100 Subject: Update with Content-Security-Policy security stuff --- content/cockpit/rest-api-plugin.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content/cockpit/rest-api-plugin.md') diff --git a/content/cockpit/rest-api-plugin.md b/content/cockpit/rest-api-plugin.md index 63256fc..07827df 100644 --- a/content/cockpit/rest-api-plugin.md +++ b/content/cockpit/rest-api-plugin.md @@ -4,6 +4,8 @@ Category: Cockpit, Linux Tags: cockpit, linux Slug: making-rest-calls-from-javascript-in-cockpit +*Note: This post has been updated for changes in Cockpit 0.90 and later.* + [Cockpit is a user interface for servers](http://cockpit-project.org). In [earlier](http://stef.thewalter.net/creating-plugins-for-the-cockpit-user-interface.html) [tutorials](http://stef.thewalter.net/using-dbus-from-javascript-in-cockpit.html) there's a guide on how to add components to Cockpit. Not all of the [system APIs use DBus](http://stef.thewalter.net/d-bus-is-powerful-ipc.html). So sometimes we find ourselves in a situation where we have to use REST (which is often just treated as another word for HTTP) to talk to certain parts of the system. For example [Docker has a REST API](https://docs.docker.com/reference/api/docker_remote_api/). -- cgit v1.2.3