Curl cannot access slim api pages

Hello everybody,
I need quick help,

problem as follows:

  1. I have created a middleware using slimfrmework. One api URL is https://www.mysite.xyzcom/api/v1/hello
  2. now, i also want to call this slim api url from another server but using curl.
  3. but curl call is not working.
  4. I know guzzle can help fast. but, its my client request, I have to do it using curl call.
  5. if anybody can help me asap.

Thank you so much.

Welcome @rik1517

You have to provide more details about the Slim version, the (curl) request (example), the PHP code and the error message.