diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-03-09 11:56:56 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-03-09 11:56:56 -0800 |
commit | 59d4a80f19cdcdb86d7f661ec5d723a2cc65a66d (patch) | |
tree | 35150dcf60e1e02140fcb06a3193d7d7a9dc5c9e /examples | |
parent | d5b7c62043b1ef5b284b094f4663c17e5abd33c7 (diff) |
API endpoint listing and spelling fix
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 { |