Api v8 on Internet Information Service IIS

Hello,

I have been trying to consume Api v8 but in ISS it gives me error 404.

When you rebuild the web.config file it does not include access to the v8 api. For this add the following rules:

rule name="rule 1R" stopProcessing="true">
<match url="^Api/access_token$"  />
<action type="Rewrite" url="/Api/index.php/access_token"  />
</rule>
<rule name="rule 2R" stopProcessing="true">
<match url="^Api/V8/(.*?)$"  />
<action type="Rewrite" url="/Api/index.php/V8/{R:1}"  />
</rule>
<rule name="rule 3R">
<match url="^Api/(.*)$"  />
<action type="Rewrite" url="/-"  />
1 Like