title: Typo3 9.x ajax call
body: <p>Configuration about a single route for ajax call: <strong>getamministrazioni.json</strong></p>
  
  <p>I tried to change configuration site as follow:</p>
  
  <pre><code>...
  
  
      routeEnhancers:
        News:
          type: Extbase
          extension: News
          plugin: Pi1
          routes:
            -
              routePath: '/{news-title}'
              _controller: 'News::detail'
              _arguments:
                news-title: news
          aspects:
            news-title:
              type: PersistedAliasMapper
              tableName: tx_news_domain_model_news
              routeFieldName: path_segment
        PageTypeSuffix:
          type: PageType
          default: .html
          map:
            .html: 0
            getamministrazioni.json: 1035343
  
      errorHandling: {  }
      routes: {  }
  ...
  </code></pre>
  
  <p>And in setup.typoscript i have:</p>
  
  <pre><code>GetAmministrazioni = PAGE
  GetAmministrazioni {
  typeNum = 1035343
  config {
      disableAllHeaderCode = 1
      debug = 0
      no_cache = 1
      additionalHeaders {
        10 {
          header = Content-Type: application/json
          replace = 1
        }
      }
  }
   10 &lt; tt_content.list.20.my_controller_getamministrazioni
  
  }
  </code></pre>
  
  <p>It works but for all pages. </p>
  
  <ol>
  <li>/home/getamministrazioni.json </li>
  <li>/page1/getamministrazioni.json</li>
  </ol>
  
  <p>etc.. etc..</p>
  
  <p>I want a single route from root '/getamministrazioni.json</p>
  
  <p>how i can do that?</p>