You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/08/07 06:13:00 UTC

[jira] [Comment Edited] (CAMEL-11624) REST DSL/component method Uppercase

    [ https://issues.apache.org/jira/browse/CAMEL-11624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116107#comment-16116107 ] 

Claus Ibsen edited comment on CAMEL-11624 at 8/7/17 6:12 AM:
-------------------------------------------------------------

What rest component are you using? As it may depend on which component that does the actual rest call about the upper case thing. 

But yeah we should make it work with regardless how you type it


was (Author: davsclaus):
What rest component are you using?

> 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.20.0, 2.19.3
>
>
> 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)