how to return the contents of a json to flask

Asked

Viewed 11 times

1

I would like to return the content of a json file that is on my machine in an endpoint,basically I have a file with citations and I would like to return the content of that file in an endpoint,however I could not find a tutorial that is not with the method "POST".

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.