How to call api using cloudflare?

Hello, is there anyway that my site https//example/com return the http//example2.com/test.php ?

rules >> forward , dosn’t work fine for me
any other way?

If it’s a GET call, you can use a Worker:

What about service Workers Example: Modify request property?