mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
10 lines
306 B
HolyC
10 lines
306 B
HolyC
U0 @slon_api_v2_instance_get(SlonHttpSession* session)
|
|
{
|
|
SLON_SCRATCH_BUFFER_AND_REQUEST_JSON
|
|
no_warn request_json;
|
|
|
|
StrPrint(scratch_buffer, "{\"domain\":\"%s\"}", db->o("instance")->@("uri"));
|
|
session->content_type("application/json; charset=utf-8");
|
|
session->send(scratch_buffer);
|
|
}
|