Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add implementation for returning file endpoint in Flask Server #113

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

CaelinFinnMcCool
Copy link
Contributor

This pull request is adding an endpoint for returning a file to the flask server from a client. In the future this will hopefully be merged into our return result endpoint to include files into the json return.

@@ -46,6 +46,14 @@ def _return_result():

return {}, 200

@app.route('/return_file', methods=['POST'])
def _return_file():
print('Receiving File from Client ...\n')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logging has been added to the server. So this print statement should be changed to use the logging feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants