E
E
Eugene2015-12-29 10:37:29
Programming
Eugene, 2015-12-29 10:37:29

Is it possible to implement a RESTful service in php without additional. libraries?

Good day! please tell me how it is possible, and is it even possible to write a full-fledged RESTful web service in php? I reviewed a lot of information but did not find anything similar, or simply did not understand.
PS I need to complete an assignment, but I can't figure out where to start (For this assignment, you'll need to create a RESTful web service. You should only implement a GET method as follows:)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Nalomenko, 2015-12-29
@nalomenko

REST is just a method, a concept for building a distributed application. Of course, you can do without libraries and write everything by hand.

R
reedwalter24, 2015-12-29
@reedwalter24

laravel.com/docs/4.2/controllers#restful-resource-...

Y
Yuri Shikanov, 2015-12-29
@dizballanze

To implement RESTful, you only need full HTTP support, which is in PHP, so you can implement RESTful without any problems. Another question is that third-party libraries will help to do this faster, because. template code has already been written and tested in them.

E
Eugene, 2015-12-29
@xxx_xploit

can i have a simple example? I can't figure out how this can be put into practice?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question