I'm using WCF to create some REST service.
One of the Rest Service method need to get byte array as parameter ( picture as byte array ) and return some object.
I run this service using IIS.
But this is not working.
Since this is a POST request, you cannot use the Internet Explorer to go to it (IE sends a GET request, the method expects a POST request). You can use a simple HTTP call, and the example below works fine - take a look to see if there is anything different
from yours (in this case I'm defining the endpoint using the WebServiceHostFactory, but it could be defined using web.config as well - in this case web.config is not necessary).