A more opinionated flavor of Lightning for building decoupled applications. Support ended on November 2, 2021 and this project is no longer maintained.
Hey, it's my first time using Headless Lightning and I'm having a hard time understanding the Content Service.
I managed to return a token using the example described in the API Access Page:
curl -X POST -d "grant_type=password&client_id=api_test{CLIENT_ID}&client_secret={SECRET}&username={USERNAME}&password={PASSWORD}" https://{YOURDOMAIN}/oauth/token
Hey, it's my first time using Headless Lightning and I'm having a hard time understanding the Content Service.
I managed to return a token using the example described in the API Access Page: curl -X POST -d "grant_type=password&client_id=api_test{CLIENT_ID}&client_secret={SECRET}&username={USERNAME}&password={PASSWORD}" https://{YOURDOMAIN}/oauth/token
But now I want to understand how to GET and POST stuff. In this page I found an example on how to get a page: https://dev.acquia.com/decoupled/headless-cms
Is there any documentation or tutorial that I could use?
Thanks