PHP Classes

I need a PHP class for rest download file: REST download class with error handler

Recommend this page to a friend!
  All requests RSS feed  >  I need a PHP class for rest download ...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

I need a PHP class for rest download file

Edit

Picture of Elton Gomez B. by Elton Gomez B. - 2 years ago (2021-12-20)

REST download class with error handler

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I need a class or PHP procedure that allows an end user to download a text file from my Web site through a REST type request.

The class should handle the request's syntactic errors and defects, and that handles attempts to obtain information about the computing environment of my Web site.

Thank you.

Ask clarification

1 Recommendation

PHP REST API Server: REST API server handling requests with callbacks

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 23650 - 2 years ago (2021-12-20) Comment

Hello Elton,

You can try this generic REST API server package. It takes care of handling REST API requests.

You need to create callback functions that will generate responses to the requests.

So you create custom callback functions that will serve the files you want to download.

Can you try here to let us know if this package serves your purposes so we can learn from your evaluation of the box and help the package author make it better for you?


Recommend package
: 
: