I have mocked my API's using postman mock server I want to mask the url of mock server ex : my current url kj3433434n34kjrh98434kjn.mock.pstmn.io TO examplename this name i want to mock i have explored in google but no helpful article found. please help me
Edited : my current url : https://kj3433434n34kjrh98434kjn.mock.pstmn.io/test/api expecting url : https://examplename/test/api
If I understand you correctly, you can create an
environment
variable and add the Mock URL value toexamplename
.This can then be referenced in the request using the
{{examplename}}
syntax.