In order to configure the backend to support JSON you need to add this to web.config to the handlers section:
<add
verb="*"
path="JsonGateway.aspx"
type="Origam.Server.Handlers.GatewayHandler, Origam.Server.Handlers"
name="JsonGatewayHandler" />
In order to call the service you need to generate a JavaScript proxy class. You can get it by calling the following URL:
jsongateway.aspx?proxy&destination=fluorine&source=Origam.Server.JsonUIService