MageStackDay is an online hackathon dedicated to answering questions on magento.stackexchange.com & Magento community forum. It's all about getting together online and enjoying the best thing about Magento: community!
In modern web development git seems to be the version control system of choice. Even though it is popular a lot of people only know the 5 main commands and are happy with them. In this talk I stepped through some does and don’ts of working with git, so advanced features and talk about team workflow with git.
Magento 2 like Magento 1 comes with an inbuilt rest api system. This system will allow you to do a multitude of things including, but not limited to: product manipulation, cms page and block manipulation, checkout and search.
For the purpose of this article I will focus on the cms part and in particular creating and editing cms pages. Though more detailed information on all the rest api calls can be found on DevDocs. The outcome of this article is to demonstrate how it would be possible to add and edit cms pages via a rest api built into Magento 2.
I am making the assumption that you have the following:
NOTE: to access the rest api you need to call your local url, in our case http://www.mage2.devbox, with the url /rest