How do you make an API?
So, I was wondering - I want to make a system where a piece of code can send an input to a URL and it responds with an output. Is there any way this can be done on repl.it - ideally with python?
Thanks,
- minx
Upvote for vee freebucks!
Voters
Have a look at the Flask framework.
Some examples here https://www.flaskapi.org/
Docs for Flask-RESTful here https://flask-restful.readthedocs.io/en/latest/
I did a blockchain api in flask with Repl.it you can see here
https://repl.it/@OneDevGuy/PyBlockchainNode