필터 지우기
필터 지우기

Multipart encoding with matlab

조회 수: 1 (최근 30일)
Eugene
Eugene 2016년 4월 6일
I would like to have an equivalent of the following python code in matlab to send files to a server:
import requests
url = 'http://sol.synchrotron.org.au/elog/api/upload'
files = {'file': open('/path/to/your/file', 'rb')}
response = requests.post(url, files=files)
print(response.json())
Is this possible with webwrite or something native to Matlab? I'm currently only using urlreadpost.m from the file exchange.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by