How to make a successful web request in monkey C?

I'm running a php/apache server on my raspberry pi and I'm trying to reach it using a Garmin watch app.

I tried Garmin's sample code and it works with some json services like this one: https://jsonplaceholder.typicode.com/posts/1

But it does not work with my raspberry's php server.

How can I make it work?

Here's the sample code that I use:

and here's the php code that shows some json: