API Authentication
The NiceNIC API-ով uses API secret to authenticate requests. You can view և manage քո API Secret in the Կառավարման վահանակ.
We strongly recommend that you keep քո API secret secure, do not share քո secrets in public areas such as GitHub, client code, etc. You can always reset քո API Secret by Կառավարման վահանակ.
Authentication to the API is done using the HTTP Authկամization header, wայստեղ you need to specify քո Օգտանուն և API secret, separated by a colon.
Բոլորը API requests must be made over HTTP. API requests without authentication will also fail.
https://api.nicenic.net/v2/
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Authorization: username:api_secret
Content-Type: application/json
### Response format
```json
{
"code": 0,
"msg" : "success",
"data" : {} // Specific data
}






