Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

接口更新-新增临时素材接口变动 #186

Closed
cenxun opened this issue Dec 25, 2015 · 1 comment
Closed

接口更新-新增临时素材接口变动 #186

cenxun opened this issue Dec 25, 2015 · 1 comment

Comments

@cenxun
Copy link

cenxun commented Dec 25, 2015

新增临时素材-微信

本接口即为原“上传多媒体文件”接口。

接口调用请求说明

http请求方式: POST/FORM,需使用https
https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE
调用示例(使用curl命令,用FORM表单方式上传一个多媒体文件):
curl -F [email protected] "https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE"

sdk api

const API_UPLOAD = 'https://file.api.weixin.qq.com/cgi-bin/media/uploadimg';

new api

https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE

overtrue added a commit that referenced this issue Dec 25, 2015
@overtrue
Copy link
Collaborator

@cenxun 谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants