add: OPTIONS method support

add: relay tag endpoint
This commit is contained in:
Tobias Reisinger 2020-05-14 01:37:08 +02:00
parent dab106c1f6
commit 420bdeb2aa
6 changed files with 158 additions and 26 deletions
include/endpoints

View file

@ -6,4 +6,7 @@
void
api_v1_relays_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
void
api_v1_relays_tag_STR_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
#endif /* CORE_ENDPOINTS_API_V1_RELAYS_H */