I have two api’s in production. Api(1) is the gateway and api(2) is a products api. When I make a request straight to the products api (api2), it works fine. But when I make a post request from the gateway (api1) to the products api (api 2), the data is not inserted into the database. Both api’s are laravel. I am also using DO mysql managed database. My first time on DO though. Please any help?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!