How to create a menu item list In Drupal 8 Using RESTful Web Services ?

  0 comments

Before you create Rest API you must have enable core Web services module list & Install custom "Rest Ui" module and enable it.

Here are the steps to create a menu item list

 

Step:1  Install "rest_menu_items" module and enable it.

Step:2  Go to Admin = Configuration = Web-services = Rest  and enable "Menu items per menu"

custom

 

 

Step:3  Select All Check box and "Save".

custom

Step:4 Enter path /api/menu_items/{menu_name}?_format=json

custom

Step: 5 Now you can view menu items

custom

 

Add new comment