API Authentication
The NiceNIC API uses API secret to authenticate requests. You can view ja manage sinu API Secret in the Juhtpaneel.
We strongly recommend that you keep sinu API secret secure, do not share sinu secrets in public areas such as GitHub, client code, etc. You can always reset sinu API Secret by Juhtpaneel.
Authentication to the API is done using the HTTP Authvõiization header, wsiin you need to specify sinu Kasutajanimi ja API secret, separated by a colon.
Kõik 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
}






