camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-11624) REST DSL/component method Uppercase
Date Thu, 07 Sep 2017 06:58:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-11624:
--------------------------------
    Fix Version/s:     (was: 2.19.3)
                   2.19.4

> REST DSL/component method Uppercase
> -----------------------------------
>
>                 Key: CAMEL-11624
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11624
>             Project: Camel
>          Issue Type: Bug
>          Components: rest
>    Affects Versions: 2.19.1
>            Reporter: Paolo Lizarazu
>             Fix For: 2.19.4, 2.20.0
>
>
> when we are using rest component we need to set the method in uppercase otherwise this
will return error 405
> bad example : String requestResponse = testProducer.requestBody("rest:get:health?host=$activityHost:$activityPort",
null, String.class)
> working example
> String requestResponse = testProducer.requestBody("rest:GET:health?host=$activityHost:$activityPort",
null, String.class)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message