HTTP API - MMS File Upload: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Use HTTP Post to upload a file to the gateway, file name should be file0, file1, ... | Use HTTP Post to upload a file to the gateway, file name should be file0, file1, ... | ||
'''Example | '''Example and''' '''Request:''' | ||
'''Request:''' | |||
curl -H "Content-Type: multipart/form-data" -F "file=@filename" <nowiki>http://gateway_ip/api/mms_file/file0</nowiki> | curl -H "Content-Type: multipart/form-data" -F "file=@filename" <nowiki>http://gateway_ip/api/mms_file/file0</nowiki> |
Revision as of 09:58, 24 June 2024
POST http://gateway_ip/api/mms_file/file{0..31}
Use HTTP Post to upload a file to the gateway, file name should be file0, file1, ...
Example and Request:
curl -H "Content-Type: multipart/form-data" -F "file=@filename" http://gateway_ip/api/mms_file/file0