Developer Mode

Development mode only needs an API Key. No need to authorize a domain name

To use the API in developer mode you only need an API key. The domain name from which you access the API does not need to match the domain name specified in the API section of My IFAPortal. See the screen shot below.

api-screenshot.jpg

This means you can use the API from a development environment such as localhost when developing websites that rely on the API.

When in developer mode, results served via the API will either be limited or the data that is served will be partially obfuscated.

API responses will also include an additional header item to remind you that you are accessing the API in developer mode and that results have been limited.

<?xml version="1.0" encoding="utf-8"?>
<articles>
    <header>
        <developmentMode><![CDATA[IFA Portals API is running in development mode. Resultset limited to 1]]></developmentMode>
    </header>
    <data>
        <article>
            <articleID></articleID>
            <articleTitle></articleTitle>
            <articleIntro></articleIntro>
            <articleThumbnail>></articleThumbnail>
            <articleCategoryID</articleCategoryID>
            <articleCategoryName></articleCategoryName>
        </article>
    </data>
</articles>