Service ini menyediakan data infografis.
{{baseurl}}/api/infografis
Header | Type | Required | Description |
---|---|---|---|
x-username | string | Yes | The username for the user |
x-password | string | Yes | The password for the user |
Auth Type | Type | Required | Description |
---|---|---|---|
Bearer Token | string | Yes | Key app to access API (You need an token API. Please log in to the API to generate an token. If you already have an token, please provide it below.) |
HTTP/1.1 200 OK
{ "code": "200", "message": "Authentication successful", "data": [ { "id": "8", "nama": "Distribusi Perolehan Kursi DPRD", "keterangan": "", "image": "Pemilu.jpg", "tahun": "2020", "dilihat": "0", "didownload": "0" }, ] }
HTTP/1.1 40x
{
"code": "40x",
"message": "Invalid username or password"
}
Jika #SahabatPusaka memiliki pertanyaan seputar data, silakan disampaikan melalui chat Whatsapp ini, Admin siap membantu.