Title: REST API &gt; Can&#8217;t use paramters while using GET request
Last modified: April 11, 2018

---

# REST API > Can’t use paramters while using GET request

 *  Resolved [davidpu770](https://wordpress.org/support/users/davidpu770/)
 * (@davidpu770)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/rest-api-cant-use-paramters-while-using-get-request/)
 * Hey,
 * I’m using the rest API to fill an extrnal table with all the existing categories
 * But when I’m trying to request with parameter for example per_page=100 I’m getting
   only 10 rows as the defult per_page value is 10.
 *     ```
       //$module goes for $endpoint
               try {
   
                   $result = $this->wooCommerce()->get($module, $_GET);
   
               } catch (\Exception $e) {
   
                   return new SwalController('error',$e->getMessage(),'error') and die();
   
               }
       ```
   
 * WC verision: 3.3.3
    WP verision: 4.9.5
    -  This topic was modified 8 years, 2 months ago by [davidpu770](https://wordpress.org/support/users/davidpu770/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [Hannah S.L.](https://wordpress.org/support/users/fernashes/)
 * (@fernashes)
 * Automattic Happiness Engineer
 * [8 years, 1 month ago](https://wordpress.org/support/topic/rest-api-cant-use-paramters-while-using-get-request/#post-10246972)
 * As no-one else has chimed in with code help, I’m going to wrap up this thread
   now. If you do need or want more help with this, then I highly recommend contacting
   one of the services on our customizations page: [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/)

Viewing 1 replies (of 1 total)

The topic ‘REST API > Can’t use paramters while using GET request’ is closed to 
new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [get request](https://wordpress.org/support/topic-tag/get-request/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)
 * [v2](https://wordpress.org/support/topic-tag/v2/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hannah S.L.](https://wordpress.org/support/users/fernashes/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/rest-api-cant-use-paramters-while-using-get-request/#post-10246972)
 * Status: resolved