Api event user get domain icon
API Endpoint: api/event/user/get_domain_icon/
Description: Get the Domain icon. Returns a .png file.
| Index | Importance | Type | Description | Values |
|---|
Response Codes
| Response Code: | Description |
|---|---|
| 200 | byte[] (byte array) |
| 300-600 | Codes Overview |
Example POST
Curl example POST
curl 'https://engine.tygron.com/api/event/user/get_domain_icon/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>=' -d ''JavaScript example POST
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>=" },
body: ''
};
fetch("https://engine.tygron.com/api/event/user/get_domain_icon/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));