请求方式:POST
接口版本: 5.2.3
接口描述:
1 2 3 4 5 6 7 8 9 10 11 | require 'typhoeus' # 接口地址 apiurl= "https://api-v2.1dq.com/v5/Accounts/update.json" #请求参数 body={easy_id : '175976105528922112' ,id_number : '3111111111*****222' ,id_type : '1' ,name : '测试仪' ,number : '18888888887' ,is_login : '-1' ,} resp=Typhoeus::Request.post(apiurl,body:body) puts resp.body |