API Autentisering
NiceNIC API bruker API-secret for å autentisere forespørsler. Du kan se og administrere API-secret i Kontrollpanelet.
Vi anbefaler sterkt at du holder API-secret sikker, og ikke deler hemmelighetene dine i offentlige områder som GitHub, klientkode osv. Du kan alltid nullstille API-secret ved å Kontrollpanelet.
Autentisering to the API is done using the Authellerization header, wher you need to specify din Brukernavn og API secret, separated by a colon.
Alle API requests must be made over HTTPS. 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
}






