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