first
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace asdfasdf.APIs;
|
||||
|
||||
public static class DataCollection
|
||||
{
|
||||
public static void Init(WebApplication app)
|
||||
{
|
||||
app.MapPost("/data/event", (HttpRequest request) =>
|
||||
{
|
||||
return Results.Created("/data/event", "");
|
||||
});
|
||||
|
||||
app.MapPost("/data/heartbeat", () =>
|
||||
{
|
||||
return Results.Created("/data/heartbeat", "");
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user