diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index bb9f0d9..50bb7ab 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -253,7 +253,7 @@ // prepare final parameters var body = {}; - if(bodyFormat == 'json') { + if(bodyFormat == 'json' && method != 'GET') { body = unflattenDict(params); body = JSON.stringify(body); } else {