API Authentication
The NiceNIC API uses API secret to authenticate requests. You can view e manage seu API Secret in the Painel de controle.
We strongly recommend that you keep seu API secret secure, do not share seu secrets in public areas such as GitHub, client code, etc. You can always reset seu API Secret by Painel de controle.
Authentication to the API is done using the HTTP Authouization header, waqui you need to specify seu Nome de utilizador e API secret, separated by a colon.
Todos 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
}






