vkolev/locmock

Feat: Special routs

Closed this issue · 0 comments

vkolev commented

Includes reserved special routes like:

  • UUID - generates random UUID
  • Random User - generates representation of random user profile
  • IP - Returns the current IP of the requester
  • Redirect - returns a redirect to a specified URL or to the same URL
  • Gzip - Generate Gzip response
  • User-Agent - returns a random User-Agent string
  • Generic GET, PUT, POST, HEAD, OPTIONS, DELETE - routes to echo requests
  • Generic Form request