请求地址:/v5/Files/attachmentUploads.json
请求方式:POST
接口版本: 5.2.3
接口描述:
require 'typhoeus' # 接口地址 apiurl="https://api-v2.1dq.com/v5/Files/attachmentUploads.json" #请求参数 body={file_content : 'UEsDBAoAAxxxx',file_extension : 'doc',file_name : '项目管理合同的附件',file_size : '500',} resp=Typhoeus::Request.post(apiurl,body:body) puts resp.body