# Passing GET parameters on the terminal when invoking functions

**URL:** <https://forum.serverless.com/t/passing-get-parameters-on-the-terminal-when-invoking-functions/3867>\
**Category:** Serverless Framework\
**Created:** [February 24, 2018, 7:14pm UTC](https://forum.serverless.com/t/passing-get-parameters-on-the-terminal-when-invoking-functions/3867 "2018-02-24T19:14:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesJefferyUK](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@JamesJefferyUK](https://forum.serverless.com/u/JamesJefferyUK)\
**Post date:** [February 24, 2018, 7:14pm UTC](https://forum.serverless.com/t/passing-get-parameters-on-the-terminal-when-invoking-functions/3867/1 "2018-02-24T19:14:27Z")

</div>

How do I pass GET parameters with the cli when invoking a function? I want to test my functions locally before deploying and I can’t find out how to pass query parameters.

I tried the following to no avail:

```
erverless invoke local -f screeny --data "{'q':'london'}"

```

Any help?
