My web application shows 302 status code for some of the requests at our customer while some requests gives 200. I also compared httpd.conf with our test environment's httpd.conf and there is no difference except ServerName. Below is the redirection from httpd.conf.
<Location ~ "^/api(?<URL>/.*)?">
Redirect "https://application-domain:443/api%{env:MATCH_URL}"
</Location>
#ProxyPass /api/ http://localhost:7888/api/ iobuffersize=32768 ttl=10 flushpackets=on nocanon timeout=300
#ProxyPassReverse / http://localhost:7888/