×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: INI
Posted by: Matt Parry
Added: Mar 22, 2017 3:51 PM
Views: 9
Tags: no tags
for redirecting url for use as API (php function)
  1. <rule name="API rewrite" stopProcessing="true">
  2.         <match url="^(.*)" />
  3.           <conditions logicalGrouping="MatchAny">
  4.             <add input="{URL}" pattern="GetDefaultPlansAndOffers" />
  5.             <add input="{URL}" pattern="GetPlansAndOffers" />
  6.             <add input="{URL}" pattern="SaveAdditionalInfo" />
  7.             <add input="{URL}" pattern="SavePlanAndOffer" />
  8.             <add input="{URL}" pattern="ConfirmEnrollment" />
  9.             <add input="{URL}" pattern="AuthToken" />
  10.           </conditions>
  11.         <action type="Rewrite" url="/gngenrollmentwebapi/?api={C:0}" appendQueryString="false"  />
  12. </rule>
Comments disabled