I am using the following code in my interface and using webapi service.
[OperationContract]
[WebInvoke(Method = "GET")]
bool IsPaymentGatewayExitsForTenant(string tenantSlugName, string productCode);
Run Code Online (Sandbox Code Playgroud)
I am running locally and testing the service using rest client
api/PaymentGatewayService/IsPaymentGatewayExitsForTenant?tenantSlugName=KPN&productCode=POSS
Run Code Online (Sandbox Code Playgroud)
But I am getting the following errror enter code here
{"Message":"The requested resource does not support http method 'GET'."} `enter code here`
Run Code Online (Sandbox Code Playgroud)
Any help would be appeciated.