PHP Restful services


#1

I am trying to run a simple RESTful client and server in C9.
This is working code on my desktop.

I am confused with what I need to put in as URL for curl() statement.
$url = “https://my-php-dguai.c9users.io/my_php/PHP_Study/WebServices/Server/Index.php?book=$name”;

Directory structure is as follows:
my_php
----------- PHP_Study
--------------------------- WebServices
--------------------------------------------- Client
----------------------------------------------------index.php
----------------------------------------------Server
----------------------------------------------------index.php

When I call from Clinet/index.php, I am getting “File not found” error.

What is the URL path?

Thanks in advance.