Body: <p>I have a pagination URL <a href="http://example.com/v3/?limit=12&amp;page=1" rel="nofollow noreferrer">http://example.com/v3/?limit=12&amp;page=1</a></p>
  <p>I try this code:</p>
  <pre><code>
  {% set page = craft.app.request.getParam('p') %}
  {% set params = {
      url: 'http://example.com/v3/?limit=12&amp;page=' ~ page,
      type: 'json',
      element: 'data',
      cache: 60,
  } %}
  
  {% set feed = craft.feedme.feed(params) %}
  
  </code></pre>
  <p>When accessing the URL <code>http://mysite.com/?p=1</code> I got the error 'Page not found'. Please share your idea and thanks for your answer!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-10T04:09:02.467Z
Comments.Text: My first guess: This sounds more like a routing issue than a Feed Me problem. Are you sure you are not getting the error when you remove the Feed Me code?
Comments.UserDisplayName: Matthias Redl-Mann
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-14T15:05:08.317Z
Comments.Text: That seems `craft.app.request.getParam('p')` doesn't work, so is there any GET request? Sometimes, I need a GET request to show/hide elements.
Comments.UserDisplayName: user2707393
Tags: <plugin-feedme><querystring><api>
Title: How to fetch data from pagination URL with Feed Me plugin
ThreadText: # How to fetch data from pagination URL with Feed Me plugin
  
  (Asked by: username_0 on 2023-04-01)
  
  I have a pagination URL <http://example.com/v3/?limit=12&page=1>
  
  I try this code:
  
  ```
  
  {% set page = craft.app.request.getParam('p') %}
  {% set params = {
      url: 'http://example.com/v3/?limit=12&page=' ~ page,
      type: 'json',
      element: 'data',
      cache: 60,
  } %}
  
  {% set feed = craft.feedme.feed(params) %}
  
  ```
  
  When accessing the URL `http://mysite.com/?p=1` I got the error 'Page not found'. Please share your idea and thanks for your answer!
  
  **Tags:** plugin-feedme, querystring, api
  
  > **Comments:**
  > **username_1**: My first guess: This sounds more like a routing issue than a Feed Me problem. Are you sure you are not getting the error when you remove the Feed Me code?  
  > **username_0**: That seems `craft.app.request.getParam('p')` doesn't work, so is there any GET request? Sometimes, I need a GET request to show/hide elements.  
  
  ---
  
  ## 0 answers
  
  