Kartris User Guide

11.1. Activating the web API

To activate the web API you have to set a couple of things in your site's web.config file:

 

  • Web API secret key - KartrisWebAPISecretKey App Setting
  • Service base addressbaseAddresses entry
<appSettings>
   <add key="KartrisWebAPISecretKey" value="[YourSecretKeyHere]" />
</appSettings>
...
<baseAddresses>
   <add baseAddress="[YourWebShopURLHere]Protected/KartrisWebAPI.svc" />
</baseAddresses>
Note that [YourWebShopURLHere] should be exactly the same as your general.webshopurl config setting (in the Kartris back end config system).
 
powered by tomehost