API Autentifikimi
API-ja e NiceNIC përdor sekretin API për të autentikuar kërkesat. Mund të shikoni dhe menaxhoni Sekretin tuaj API në Panelin e Kontrollit.
Rekomandojmë fuqimisht që ta mbani fjalën tuaj sekrete API të sigurt, mos e ndani në hapësira publike si GitHub, kode klientësh, etj. Gjithmonë mund ta rivendosni Fjalën Sekrete API duke Panelin e Kontrollit.
Autentifikimi to the API is done using the Authoseization header, wkëtu you need to specify tënd Emri i përdoruesit dhe API secret, separated by a colon.
Të gjitha 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
}






