You need to pass the full URL as a variable to the workflow. But modifying or building the base Url within the workflow body is not supported. The URL must be fully formed before being passed.
Workflows: How to dynamically create request body in HTTP action .