Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (33 sloc) 1.7 KB

Samples

This page contains links to several example .yml files to try for yourself. You can download the corresponding PostMan collection here.

How to run the samples

To load all stubs, just run this command:

httplaceholder --inputFile C:\path\to\samples\dir

To load just one stub, just run this command:

httplaceholder --inputFile C:\path\to\samples\dir\01-get.yml

Links to samples

  • HTTP GET examples: .yml
  • HTTP POST examples: .yml
  • XML Xpath examples: .yml
  • JSONPath examples: .yml
  • File examples: .yml
  • Basic authentication examples: .yml
  • Slow response examples: .yml
  • Simple website examle: .yml
  • Temporary and permanent redirects: .yml
  • Validation on client IP: .yml
  • Check on hostname: .yml
  • Check HTTP(S): .yml
  • Priority: .yml
  • Form values: .yml
  • Dynamic mode - query strings: .yml
  • Dynamic mode - UUIDs: .yml
  • Dynamic mode - request headers: .yml
  • Dynamic mode - form post: .yml
  • Dynamic mode - request body: .yml
  • Dynamic mode - display URL: .yml
  • Dynamic mode - client IP: .yml
You can’t perform that action at this time.