Forum Discussion
VesaJuvonen
Microsoft
May 08, 2017SharePoint PnP Webcast - Calling external APIs securely from SharePoint Framework
In this PnP Webcast, we concentrate on how to secure traffic from SharePoint Framework solution towards an external API hosted in Azure. Technically similar process does work with other pl...
Butch Marshall
Apr 11, 2018Copper Contributor
Great Info. I got it working all the way up to my external API getting an "Authorization" header. But the header is always empty?
Array ( [Authorization] => [Host] => xxxx.xxxx.com [Connection] => keep-alive [Content-Length] => 0 [Pragma] => no-cache [Cache-Control] => no-cache [Accept] => application/json;odata=verbose [Origin] => https://XXXX-admin.sharepoint.com [User-Agent] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 [Content-Type] => application/json;odata=verbose;charset=utf-8 [Referer] => https://XXXX-admin.sharepoint.com/_layouts/15/workbench.aspx [Accept-Encoding] => gzip, deflate, br [Accept-Language] => en,fr;q=0.9,en-US;q=0.8,en-GB;q=0.7 [X-Forwarded-Proto] => https [X-Ssl-Cipher] => TLSv1.2/ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [X-Forwarded-For] => X.X.X.X )