Access welcome page of a sharepoint online site and get its html

%3CLINGO-SUB%20id%3D%22lingo-sub-1195497%22%20slang%3D%22en-US%22%3EAccess%20welcome%20page%20of%20a%20sharepoint%20online%20site%20and%20get%20its%20html%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1195497%22%20slang%3D%22en-US%22%3E%3CDIV%3EI%20have%20a%20site%20hosted%20on%20the%20sharepoint%20online%2C%20which%20has%20a%20particular%20webpage%20at%20the%20address%3A%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3Ehttps%3A%2F%2F%3CDOMAIN-NAME%3E%2Fabc%2FPages%2FHome.aspx%3C%2FDOMAIN-NAME%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3Ewhich%20can%20be%20access%20through%20web%20browser%20and%20can%20see%20its%20html%20using%20view%20source%2C%20Home.aspx%20is%20the%20default%20redirect%20pge%20set%20by%20admin.%20so%20when%20we%20query%20till%20abc%2C%20we%20get%20redirected%20to%20Home.aspx%20automatically.%3C%2FDIV%3E%3CDIV%3EBut%20when%20I%20try%20to%20access%20this%20page%20using%20the%20rest%20WS%20call%20in%20post%20man%2C%20like%20this%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CA%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fsites%2F%3CDOMAIN-NAME%3E%2Fsites%2F%3CSITE-ID%3E%3C%2FSITE-ID%3E%3C%2FDOMAIN-NAME%3E%3C%2FA%3E%26gt%3B%3C%2FSPAN%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EIt%20does%20not%20redirect.%3C%2FDIV%3E%3CDIV%3EI%20need%20to%20connect%20to%20%26nbsp%3B%3CSPAN%3Ehttps%3A%2F%2F%3CDOMAIN-NAME%3E%2Fabc%2FPages%2FHome.aspx%3C%2FDOMAIN-NAME%3E%3C%2FSPAN%3E%20using%20rest%20api%20call%20through%20my%20code%20and%20access%20html%20of%20the%20web%20page.%3C%2FDIV%3E%3CDIV%3EPlease%20guide%20me%20here.%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Visitor
I have a site hosted on the sharepoint online, which has a particular webpage at the address:
 
https://<domain-name>/abc/Pages/Home.aspx
 
which can be access through web browser and can see its html using view source, Home.aspx is the default redirect pge set by admin. so when we query till abc, we get redirected to Home.aspx automatically.
But when I try to access this page using the rest WS call in post man, like this
 
 
It does not redirect.
I need to connect to  https://<domain-name>/abc/Pages/Home.aspx using rest api call through my code and access html of the web page.
Please guide me here. 
0 Replies