API ares Not reachable through Haproxy

It depends how your API client behaves. An API client is not a browser. Check your logs, see if the client follows the redirect and if it still is the same request (or whether it downgraded a POST to a GET request).