Uncaught SyntaxError: missing ) after argument list

I was confronted with this error:

So I removed the braces.
But there is another error now.

The code

var server = 'https://abc.com/';

Framework7.request.post(
  url: server + 'def', // error appears here :: missing ) after argument list
  dataType: 'json',
  crossDomain: true,
  data : {
    exemple: 'exemple'
  },
  success: function(data, status, xhr) {
    // ... 

What I’m doing wrong ?

I’ve modified my request to :

app.request({
url: server + 'def',
method: 'POST',
// ...

:heavy_check_mark: This works