Search code examples
apache-camelcamel-http

proper syntax using camel-http4 for an https call


I just can't get this HTTP4 working. I'm trying to do a POST request to a site that is https. however, nothing seems to work. can someone tell me what the right way is to perform a HTTPS POST with HTTP4 ? thank you so much, really struggling. just need to know what I'm doing wrong... something simple always turns south.

I've tried.

http4://d1e5-95edc7a5cef2-uaa.run.aws-usw02-pr.ice.io:443/oauth/token
https://d1e5-95edc7a5cef2-uaa.run.aws-usw02-pr.ice.io/oauth/token
http4://d1e5-95edc7a5cef2-uaa.run.aws-usw02-pr.ice.io/oauth/token
https://d1e5-95edc7a5cef2-uaa.run.aws-usw02-pr.ice.io:443/oauth/token
http4:https://d1e5-95edc7a5cef2-uaa.run.aws-usw02-pr.ice.io:443/oauth/token

but nothing seems to work?


Solution

  • Please use bridgeEndpoint=true so you can go outside the server