How to get the query string parameters with NodeJS Routes

I’m trying to get the query string parameter for a Node JS page.

I set up my route:
Screen Shot 2020-11-24 at 7.18.52 AM

I set up a parameter:

When I try to select my query string - the query string option isn’t available like it is in PHP.

I see a couple things:

  1. The route param is set to :user, but your query param is set to user_id. Those two should match.

  2. It looks like your query manager is on a different page than where you are trying to add, although I can’t tell for sure. The query manager component should be on the same page, or what I do, is put the query manager on the layout page, so it will then be available to any content pages connected to the layout.

2 Likes

Yep - that was it. Thanks!

1 Like

I have a route like this
image

I have a Content Page like this

I don’t know how to recover the route parameter

@mebeingken Knows how to do? if you can help me please