diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 179d250..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 6267c43..153f1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.iso +.DS_Store diff --git a/ansible/.DS_Store b/ansible/.DS_Store deleted file mode 100644 index a565689..0000000 Binary files a/ansible/.DS_Store and /dev/null differ diff --git a/cezen-portal/api-playground.html b/cezen-portal/api-playground.html index 9970a1f..f741765 100644 --- a/cezen-portal/api-playground.html +++ b/cezen-portal/api-playground.html @@ -521,6 +521,11 @@ async function sendRequest() { const apiKey = document.getElementById('pg-apikey').value.trim(); const bodyText = document.getElementById('pg-body').value.trim(); + if (/\{[^}]+\}/.test(rawPath)) { + showResponse(0, 0, `// Replace path placeholders before sending.\n// Current URL: ${rawPath}\n// Example: change {id}, {agent_id}, or {job_id} to a real value from the matching list endpoint.`); + return; + } + // Build query params const paramRows = document.querySelectorAll('#pg-params-body tr'); const params = new URLSearchParams(); diff --git a/cezen-portal/dashboard.html b/cezen-portal/dashboard.html index 9bf541a..c0e4757 100644 --- a/cezen-portal/dashboard.html +++ b/cezen-portal/dashboard.html @@ -5,7 +5,6 @@