请求地址:/v6/ApiPersonalCertification/IdCardTwoElements.json
请求方式:POST
接口版本: v6
接口描述:
require 'typhoeus'
# 接口地址
apiurl="https://api-v2.1dq.com/v6/ApiPersonalCertification/IdCardTwoElements.json"
#请求参数
body={id_card : '311011****111',real_name : '张三',}
resp=Typhoeus::Request.post(apiurl,body:body)
puts resp.body