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

Added in /upload route for a simplistic API #10

Merged
merged 6 commits into from
Jun 20, 2015
Merged

Conversation

Luminarys
Copy link
Contributor

A simple doc should be written to describe the API which essentially returns a JSON in the format {original file name:fuwa.se url/response}

Also, can the repo be renamed to Fuwa?

urls.append(v)
res = "{"
for url, f in zip(urls, files):
res += f + ":" + url + ","
Copy link
Owner

Choose a reason for hiding this comment

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

Wouldn't it be a better idea to make a list of dictionaries and serialize it to JSON? This way it wouldn't even work since f and url won't be received as strings.

Guad added a commit that referenced this pull request Jun 20, 2015
Added in /upload route for a simplistic API
@Guad Guad merged commit 2c154b2 into Guad:master Jun 20, 2015
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