I have a python script in Apache server, and inside this script there are many types of data.
I want to request those data using REST API.
How can I do it ?
I have a python script in Apache server, and inside this script there are many types of data.
I want to request those data using REST API.
How can I do it ?
2
Answers
I suggest you to try to use Flask:
You can use Flask! Here’s some documentation: http://flask.pocoo.org/docs/1.0/quickstart/#routing
Basically, you can define your routes through Flask so you can return specific data for specific endpoints that you create.