I am trying to create a POST request on a WCF Service to add to server AllocateCreditToken to a specific MSISDN.
I am having a problem that when I start instance of the project and load the URL with the value I want to add, i get a message on the browser saying "Method Not Allowed"
I am not sure if my AllocateCreditToken() method is correct or not.
Please let me know if you need to see the code as it is kind of a long piece of code in that method.
Thanks
[OperationContract]
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "AllocateCreditToken?MSISDN={MSISDN}")]
Stream AllocateCreditToken(string MSISDN);