0

I'm trying to consume the following url:

.to("https4://www.example.com/demo?execute&bridgeEndpoint=true")

but apparently the request comes out like this:

.to("https4://www.example.com/demo?execute=&bridgeEndpoint=true")

Which makes me not give anything back, does anyone know it could be? The correct url is without (=)

hk6279
  • 1,881
  • 2
  • 22
  • 32
Rdev
  • 1
  • 1
  • The query URL is wrong and Camel is looking like it's trying to do the right thing. Just having `execute` as a query without an equals expression is not compliant with [the existing standards](https://tools.ietf.org/html/rfc3986#section-3). – Makoto Mar 11 '21 at 16:23
  • 1
    The [URI RFC does not mandate a format for the query string](https://stackoverflow.com/questions/4557387/is-a-url-query-parameter-valid-if-it-has-no-value). – Chin Huang Mar 11 '21 at 17:21
  • since a postman type client responds correctly, there will be some configuration that I can make in camel so that I do not add that (=) to the end of the url? – Rdev Mar 11 '21 at 19:19

0 Answers0