diff --git a/obs/api/app/controllers/api/storage.py b/obs/api/app/controllers/api/storage.py index caf5fd9..b43b96b 100644 --- a/obs/api/app/controllers/api/storage.py +++ b/obs/api/app/controllers/api/storage.py @@ -401,7 +401,7 @@ def post(self): class presign(Resource): - def post(self, bucket_name, object_name): + def get(self, bucket_name, object_name): parser = reqparse.RequestParser() parser.add_argument("expire", type=int) parser.add_argument("access_key", type=str, required=True)