Curl like API request

Deal all,
I want to send a request to an API like I would with curl. (It returns a json file) But I dont know how to implement this on the Analytics app. I have tried a lot of combinations on the GUI.
basicly I want to send

curl ''
  -H 'auth-token: myapitoken'

API documentation