0

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

var a
  • 39
  • 9

1 Answers1

0

If I understand you correctly, you can create an environment variable and add the Mock URL value to examplename.

This can then be referenced in the request using the {{examplename}} syntax.

Postman

Danny Dainton
  • 23,069
  • 6
  • 67
  • 80