2001.API request port and method
Brief Summary:The API supports access via two ports: http://api.17vin.com:8080 and https://api.17vin.com:8443,This document uses port 8080 as the reference example.
Request Methods
GET and POST methods are supported for most interfaces.
Exception: For VIN OCR recognition, use POST only (due to large data volume exceeding GET parameter limits).
Recommendation
Use GET for easier technical troubleshooting and tracking.
POST-Specific Instructions
For POST requests (e.g., section 3002):
Exclude parameters from the URL.
Submit all parameters via POST in the request body.
Response Format
All results are returned in JSON format.
Response example{
"code":1
"data": [
//详细内容数据...
],
"msg": "success"
}
Response description
| Parameter | Type | Description |
|---|---|---|
| code | int | Indicates whether the request succeeded: 1 = Success, 0 = Failure, etc. (see Global Status Codes for full details). |
| data | string | Data Detail |
| msg | string | Success or err msg |