how to run a script on server using fastApi

Viewed 825

i'm new to fastAPI imported a script into the main.py in my fastAPI based api

import example

how to run the script when calling the url with value in the script

like http://127.0.0.1:8000/url=https://google.com

to make the script waiting for the value after "url="

1 Answers
Related