When trying to access the
Content API URL (
http://ArcherBaseURL/contentapi) and download the
.json file, the URL is not accessible and gives an
HTTP Error 401.
0EMVM000004slVu.pngThe .
json file extension is not added to the
MIME Types of the Web server in
Internet Information Services (IIS) Manager.
0EMVM000004tCCk.png Enable the Web server to serve the
.json file extension as a static file. Follow the steps below:
1. Open the Internet Information Services (IIS) Manager.
2. Click on the Server name on the left.
Note: Enabling this on the web server makes all websites on this Web server inherit the same setting. To enable this only for Archer, then click on the Archer website.
3. Double-click the MIME Types icon.
0EMVM000004tHKT.png
4. Click Add from the Actions tab on the left.
a. File Name Extension: .json
b. MIME Type: application/json
0EMVM000004tCCn.png
5. Then perform an iisreset from the Command prompt.
Note: To be able to access the Content API URL and obtain the.json file, a session token needs to be obtained first by logging into Archer and then accessing the Content API URL.
0EMVM000004tIhx.png