Important bug fix for posting form data. The headers are case sensitive. Changed them all to Content-Type.

This commit is contained in:
Scott Idem
2025-05-19 17:01:13 -04:00
parent f88e6cef89
commit f2059da9d1
6 changed files with 38 additions and 12 deletions

View File

@@ -394,7 +394,7 @@ export let ae_api_data_struct: key_val = {
let ae_api_headers: key_val = {};
ae_api_headers['Access-Control-Allow-Origin'] = '*';
ae_api_headers['content-type'] = 'application/json';
ae_api_headers['Content-Yype'] = 'application/json';
ae_api_headers['x-aether-api-key'] = ae_api_data_struct.api_secret_key;
ae_api_headers['x-aether-api-token'] = 'fake-temp-token';
ae_api_headers['x-aether-api-expire-on'] = '';