GET request from projects online

Copper Contributor

Hi,

 

I'm trying to get data from Projects online, I have and AAD app registered which I also granted permissions via appinv.aspx page.

I generated a token for Sharepoint permision for this app via POSTMAN OAuth 2.0, and after I tried to use this token with a GET request to: https://<tenantname>.sharepoint.com/sites/ProjectOnlinePilot-Dev/_api/ProjectData/Projects I got 400 Error for wrong hostname.

 

In addition, when I hit https://<tenantname>.sharepoint.com/sites/ProjectOnlinePilot-Dev/_api/ProjectData/Projects on my URL bar I do see an xml output on that tab.

 

Thanks!

0 Replies