Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2017, 07:36 PM
akhandelwal akhandelwal is offline Word Add In Unable to Call REST API Windows 10 Word Add In Unable to Call REST API Office 2016
Novice
Word Add In Unable to Call REST API
 
Join Date: Jun 2017
Posts: 1
akhandelwal is on a distinguished road
Default Word Add In Unable to Call REST API

Hi All, I have created a word add in using https://dev.office.com/docs/add-ins/word/word-add-ins . I am able to see my add in into WORD 2016.


Problem : I am unable to call the external REST api from home.js. It Says Access denied. However I have created a TEST Javascript file at the same location and try to access my service it is able to do that meaning my service has CORS enabled. because the JS is on some network and My service I am deploying locally.

Saying above is there any way to access my REST service from home.js. I have read this link https://dev.office.com/docs/add-ins/...cy-limitations so according to It CORS should work but it didint.

I am debugging the addin using F12chooser. Can someone let me know how to proceed.
Reply With Quote
  #2  
Old 06-07-2017, 07:02 AM
Charles Kenyon Charles Kenyon is offline Word Add In Unable to Call REST API Windows 10 Word Add In Unable to Call REST API Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Moved to Word vba forum.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Add In Unable to Call REST API Filling the rest of the document with a word only typed once. JakeLRL Word VBA 5 04-08-2016 07:56 AM
Add rest of letters to a word on click VikkiMcD PowerPoint 5 03-03-2014 06:25 AM
Call Excel from Word donlincolnmsof Word 0 10-14-2011 05:02 PM
using word/able to fill blanks w/o moving rest Rath Word 3 03-07-2009 08:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft