API Godkendelse
NiceNIC API bruger en API-nøgle til at autentificere forespørgsler. Du kan se og administrere din API-nøgle i Kontrolpanelet.
Vi anbefaler kraftigt, at du holder din API-nøgle sikker og ikke deler den offentligt, fx på GitHub, i klientkode osv. Du kan altid nulstille din API-nøgle ved at Kontrolpanelet.
Godkendelse to the API is done using the Authellerization header, wher you need to specify din Brugernavn 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
}






