API调用方法详解 Must-know before calling API
调用API前必知 Must-know before calling API
第一步、将设备录入至相应平台,确保设备已经在平台上线
Step 1: Record the Device information to the platform, ensuring that the Device is already online on the platform
第二步、发送POST请求(可先用POSTMAN等调试工具进行测试,确保接口调用正常)
Step 2: Send a request (you can test it with debugging tools such as MAN to make sure the API calling is normal)
**数据包格式**
Packet format
x-www-form-urlencoded
请求URL(Request URL)
域名 + 接口后缀(Domain name + interface suffix)
例测试服域名为(Example: test server domain name:):http://openapi.frp.lbbtech.com/open
查询附近充电桩接口为(Search nearby charging pile:):http://openapi.frp.lbbtech.com/open/nearby
**请求方式(Request method)**
POST
**服务器地址(baseServerPath)**
测试环境:https://uatopenapi.lbbtech.com/open/
正式环境:https://center.lvcchong.com/open/