How to make HTTP request among dockerized Nginx containers?

Let there be two microservices A and B built on Laravel, each with nginx, PHP, and MySQL containers. The nginx of A (on port 8001) and B (on port 8002) are connected via an external network common_network. The nginx, PHP, and MySQL of A are connected through network_A, and similar services of B are connected through network_B.

The ping of nginx B and MySQL and PHP of A inside the nginx container of A returns a response and everything is OK.

I need to make an HTTP request from microservice A to B. From what I googled, it can be done via a reverse proxy, but I would like to know how I can do that. I am new to Nginx.

Thanks in advance.