You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Magento2 How to create custom REST API to fetch details of CMS Block
2
+
3
+
> Magento2 Content Management System (CMS) Blocks also know as static blocks are used to store many dynamic information of the client which needs to be changed by client on regular bases. Same thing needs to be sometimes shared via Rest API.
4
+
5
+
Wondering how to achieve that? Don't worry we have got the solution for it.
6
+
7
+
> Install our module Binstellar/TopHeaderMenuAPI
8
+
9
+
10
+
## Installation Steps
11
+
12
+
Step 1 : Download the Zip file from Github & Unzip it
13
+
Step 2 : Create a directory under app/code/Binstellar/TopHeaderMenuAPI
14
+
Step 3 : Upload the files & folders from extracted package to app/code/Binstellar/TopHeaderMenuAPI
15
+
Step 4 : Go to the Magento2 Root directory & run following commands
16
+
17
+
php bin/magento setup:upgrade
18
+
php bin/magento setup:di:compile
19
+
php bin/magento setup:static-content:deploy -f
20
+
php bin/magento cache:flush
21
+
22
+
23
+
## Note : We have tested this option in Magento ver. 2.4.5-p1
0 commit comments