How should I define HATEOAS APIs in Apidog?

Silly question, we’re implementing an API (semi open standard) that has some aspects of HATEOAS type APIs. I wouldn’t call it a pure implementation of these concepts (by a landslide :sweat_smile:), but it is an API that has potentially changing endpoint URLs.

How would one go about doing this in Apidog? Especially because I’d also like to use Apidog to test with integration partners that might have different URLs so creating a “fixed” setup doesn’t really work as different partners have completely different URL schemes.

The direction I’m thinking of is having no base URL but variables that contain the URLs we should extract from a specific request. What is the best way to do this?

I’m not sure if my method can help you:

  1. Remove the baseURL from the environment
  2. Set variables (“baseURL”, “your baseURL”) in the environment and write them in front of your path like {{baseURL}}/pet
  3. Extract environment variables from PostProcessor to replace the original variable values