@@ -144,7 +144,7 @@ class OutputEndpointData extends BaseDTO
public function endpointId(): string
{
- return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|'], '-', $this->uri);
+ return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|', '.'], '-', $this->uri);
}
public function name(): string
@@ -37,7 +37,6 @@ function getCookie(name) {
function tryItOut(endpointId) {
- endpointId = endpointId.replaceAll('.', '\\.');
document.querySelector(`#btn-tryout-${endpointId}`).hidden = true;
document.querySelector(`#btn-canceltryout-${endpointId}`).hidden = false;
const executeBtn = document.querySelector(`#btn-executetryout-${endpointId}`).hidden = false;