i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is not a site collection admin (even users with Full Control access) are met with a prompt to enter their login credentials. After inputing their credentials three times, they are met with a 401 Unauthorized error.
It seems like just about any other api call works for just about all the users but specifically _api/web/webs is unauthorized.
Any information on why this particular call would require elevated privileges or if i am doing something wrong would be appreciated.
Here is the code: