Dmitriy Kozmenko
Dmitriy Kozmenko

Reputation: 1047

Custom HTTP method at Mule HTTP point

I use Mule as REST API <-> AMQP. And I have to send custom Request Method: "PRINT", but I'm receiving:

Status Code: 400 Bad Request
The request could not be understood by the server due to malformed syntax.

Do you have any ideas how I can add custom HTTP method to Mule?

Upvotes: 1

Views: 74

Answers (1)

David Dossot
David Dossot

Reputation: 33413

Unfortunately, because of this validateMessage() method here Mule rejects any method not listed here :(

I guess you need to open a bug with MuleSoft, asking for the capacity to configure extra methods, and in the meantime create a patch for the transport.

Upvotes: 1

Related Questions