# NodeJS REST GET API contains multiple params

**URL:** <https://forum.serverless.com/t/nodejs-rest-get-api-contains-multiple-params/6652>\
**Category:** Serverless Framework\
**Tags:** lambda\
**Created:** [December 4, 2018, 11:53pm UTC](https://forum.serverless.com/t/nodejs-rest-get-api-contains-multiple-params/6652 "2018-12-04T23:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parifuture](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@parifuture](https://forum.serverless.com/u/parifuture)\
**Post date:** [December 4, 2018, 11:53pm UTC](https://forum.serverless.com/t/nodejs-rest-get-api-contains-multiple-params/6652/1 "2018-12-04T23:53:31Z")

</div>

Hi I am having trouble with an end point, in postman I am making a get call to

[http://localhost:3000/v2/support/patchStatus/123456](http://localhost:3000/v2/support/patchStatus/123456)

I have defined it in the serverless.yml function spec like

```auto
support:
    handler: services/lambdas/src/support.handler
    events:
      - http:
          path: v2/support/{exec}/{part}
          method: get

```

we can have multiple calls like  
GET [http://localhost:3000/v2/support/pillStatus/123456](http://localhost:3000/v2/support/pillStatus/123456)  
GET [http://localhost:3000/v2/support/userStatus/123456](http://localhost:3000/v2/support/userStatus/123456)

What is the best way to call the API using VSCode, i.e. what should be the config in launch.json. Any help will be appreciated.
