matlab登录API接口

matlab登录API接口

clc
clear
%登录
URL = ‘api接口网址’;
options = weboptions(‘RequestMethod’,‘post’,‘MediaType’,‘application/json’,‘ContentType’,‘json’);
uesr_password = ‘密码’;
user_name = ‘用户名’;
data = struct(‘password’,uesr_password,‘name’,user_name);
response = webwrite(URL,data,options)

发布了12 篇原创文章 · 获赞 0 · 访问量 1941

猜你喜欢

转载自blog.csdn.net/qq_38122800/article/details/88693228