diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/README.md | 2 | ||||
-rw-r--r-- | examples/externalable/README.md | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/README.md b/examples/README.md index 9789cab..e309559 100644 --- a/examples/README.md +++ b/examples/README.md @@ -10,5 +10,5 @@ feature, it would be very helpful to include an example with a concrete use-case for this directory. ### Table of Contents -1. [Add content via HTTP API using the `api.Externalable` interface](https://github.com/ponzu-cms/ponzu/tree/master/content/externalable) +1. [Add content via HTTP API using the `api.Externalable` interface](https://github.com/ponzu-cms/ponzu/tree/master/examples/externalable) diff --git a/examples/externalable/README.md b/examples/externalable/README.md index 5cd22a9..b0cda33 100644 --- a/examples/externalable/README.md +++ b/examples/externalable/README.md @@ -2,9 +2,10 @@ This example shows how to enable outside clients to submit content to your CMS. All content submitted must be done through a POST request encoded as `multipart/form-data` +to the API endpoint `/api/content/external?type=<Type>` ## Song example -Imagine an app that lets users add Spotif music to a global playlist, and you need them +Imagine an app that lets users add Spotify music to a global playlist, and you need them to supply songs in the format: ```go type Song struct { |