Skip to content

Commit e243575

Browse files
committed
Revert "Workaround for URL variables"
This reverts commit c4bb32c.
1 parent a85ce9d commit e243575

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

MDX2JSON/REST.cls

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,6 @@ ClassMethod ExecuteAction(Cube As %String, Action As %String) As %Status
316316
/// See correspontding method from DeepSee.REST.v1.InfoServer
317317
ClassMethod WritePivotVariablesForCube(Cube As %String) As %Status
318318
{
319-
// Workaround of non-working passing URL variables in get requests
320-
if %request.Method = "POST" {
321-
set Cube = $$$R("Cube") // from the body of request
322-
} else {
323-
if (Cube = "") {
324-
return $$$ERROR("No Cube requested")
325-
}
326-
} // end of workaround
327-
328319
set Cube = $ZCONVERT($ZCONVERT(Cube,"I","URL") ,"I","UTF8")
329320
return ##class(MDX2JSON.Utils).WritePivotVariablesForCube(Cube)
330321
}

0 commit comments

Comments
 (0)