hello
i trying to send file to my new endpoint, which look like this:
@v2.route(’/up_file’, methods=[‘GET’, ‘POST’])
def decode_watermark(request):
test = request.files
print(test)
return json({“ok”: “200”})
if i send file from postman, using application/x-www-form-urlencoded header and form-data field, i get {} in print()
can you explane,how can I get some file without download it in file system?
For example, i want to send image to sanic, getting EXIF and return it
Thanks!