From 2cea0c8c2c0e67a97da96cd75eafc024fca4f5f5 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Tue, 6 Jul 2021 15:13:47 -0500 Subject: [PATCH] receive POST requests (fix for https://github.com/fleetdm/fleet/pull/1314) --- website/config/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/config/routes.js b/website/config/routes.js index 76cdbfbe5f..200d089632 100644 --- a/website/config/routes.js +++ b/website/config/routes.js @@ -67,6 +67,6 @@ module.exports.routes = { // Note that, in this app, these API endpoints may be accessed using the `Cloud.*()` methods // from the Parasails library, or by using those method names as the `action` in . 'POST /api/v1/deliver-contact-form-message': { action: 'deliver-contact-form-message' }, - 'GET /api/v1/receive-usage-analytics': { action: 'receive-usage-analytics' }, + 'POST /api/v1/receive-usage-analytics': { action: 'receive-usage-analytics' }, };