Answer the question
In order to leave comments, you need to log in
How to implement rest api on slim framework?
Such a task. You need to implement rest api. 2 post requests:
1st - user login to the site. A file comes with a username and password. It is necessary to check whether the user is logged in and in cases of "no" log in with a token.
2nd - a post arrives with a picture, and if the user is logged in, you need to save the picture in a folder with his name.
Where do I start, how do I do it? I looked at a lot of things, but I did not find an example of how to do this. I only came across simpler rest api examples. Tell me how to start or where to read about the implementation of my task. Thanks for the help! (must be done using the slim framework)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question