MCPcopy Create free account
hub / github.com/N4si/microservices-python-app / upload

Route upload

src/gateway-service/server.py:None–None  ·  view source on GitHub ↗
server.route("/upload", methods=["POST"])

Source from the content-addressed store, hash-verified

1import os, gridfs, pika, json
2from flask import Flask, request, send_file
3from flask_pymongo import PyMongo
4from auth import validate

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected