Need to include URL in backend

I am trying to configure something where need to route traffic in URL backend.

frontend api-gateway-frontend
bind *:5500
mode tcp
default_backend api-gateway-backend

backend api-gateway-backend
mode tcp
server server1

Requirement is to listen in 5500 port in haproxy server and will forward to URL. is it possible? this configuration is not working. Please help.