Forum Discussion

Mike89's avatar
Mike89
New Member
26 days ago

Reading dynamic parameter from resource path

Greetings, I'm adding mocks for REST project I'm working on.

I was wondering what would be the best way to create script for reading the parameter from Resource Path in my mock action that I've added?

It's a GET method and Resource Path contains the following:

/action/v1/user/${userId}/profile

Sample screenshot from the project

So userId is sent through request and can be any random 12 digit number.

Thanks in advance!