We are trying to call a REST webservice consumer with a GET method. The service throws a 400 bad request. Probably because of the missing media type. We’ve been trying to add this, but this is not possible for GET requests. Can we somehow remove the content-type header of fill it with the mediatype?
This could be achieved by providing content-Type header explicitly from Rest Consumer GUI(in Parameter table). In the parameter table, provide the Name of the parameter as content-type, value of the Parameter like application/xml and select the style as "Header".