Rest API working after saving page in SharePoint

Introduction

When you select page the URL Parameters for Site Pages, in that page you write REST API jquery and after adding in script editor if you save page API does not work after saving because of

Minimal Download Strategy Site Features Active

After adding in script editor Before saving Page



Proposed Solution



To validate if everything was working correctly, deactivate the MDS Feature and access to a SharePoint Page.

Feature go to site Settings -> Manage Site Features - > Find Minimal Download Strategy Feature - > Click on Deactivate.



After access the SharePoint page you will be able to see the URL change, it's not calling "_layouts/15/start.aspx#/" but the correct Page "/sitesPages//POCForDropDown.aspx" and the Ribbon Load correctly.