I've got our little API up and running nicely now but I'm trying to get it to work externally (as well as keep the dashboard there for clients for testing)
I've added
<rewrite>
<rules>
<rule name="api" enabled="false" stopProcessing="true">
<match url="^orders/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="orders/index.cfm?endpoint=/{R:0}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<httpErrors existingResponse="PassThrough" />
to the web.config in the root of the subdomain which is
api.etsos.co.ukAnd I'm now trying to call the most basic of the calls from an external source, which should be
https://api.etsos.co.uk/orders/createQuickCase I'm using basic auth for security and all that should be in the body is
{
"matterReference": ""
}
But I keep getting a 500 error from Hurl.it and nothing in any of the logs to give me a clue as to what is actually going wrong.
Could anyone point me in the right direction?