I’m using API GW v2 with an HTTP Mapping, but the ...
# sst
a
I’m using API GW v2 with an HTTP Mapping, but the
path params
apparently are not working? in the Console is not showing anything for those mappings? I’m mapping from a subdomain to another domain. This is my code
Copy code
routes: {
        'GET /projects/{projectId}/filters': {
          url: `${BASE_URL}/hey-xxxx/projects/{projectId}/filters`,
          method: HttpMethod.GET,
          timeout: 30,
        },
      },
f
Hey @Adrián Mouly, did you manage to get it to work?
a
Not yet.
I’m not sure if my Console looks fine or not.
Should it display any mappings?
“request parameter mapping”, should display anything there?
f
Let me give it a try, 1 sec
a
Ok thank you.
Maybe is not supposed to show anything in there.
f
I setup an Api with
/redirect
route set to google.com
The screenshot looks very similar to urs.
a
Yes, it’s the same.
But what if you put a
/{path}
?
That’s what I’m trying to get to work.
Should it show anything on
parameters mapping
?
f
Just tried
/{path}
, Here’s what I see
a
Ok, so no mapping.