add: POST schedules/list

fix: CORS
This commit is contained in:
Tobias Reisinger 2020-06-14 00:14:13 +02:00
parent a78815cb32
commit 309f2fbb52
5 changed files with 190 additions and 7 deletions
include/endpoints

View file

@ -9,6 +9,9 @@ api_v1_schedules_POST(struct mg_connection *nc, struct http_message *hm, endpoin
void
api_v1_schedules_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
void
api_v1_schedules_list_POST(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
void
api_v1_schedules_STR_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);