Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Line 3: website is the name of the so called "endpoint prefix" - in our case it is also the name of a JCR workspace. We will use the value of the endpoint prefix later on within the REST request URL.
  • Everything below line 3 in the file above defines this endpoint prefix.
  • You can define further endpoint prefixes.
  • Make sure you have only one YAML based endpoint definition.

Reading website content with the delivery endpoint

With the given configuration above - you are ready to send REST requests to your Magnolia instance...

Let us fetch the content of the page named travel on the root level of the website workspace:

Code Pro
cURL ...