Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 433 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 433 Bytes

htbhf-os-places-stub

Service for stubbing out the os-places API. By default this app runs on port 8150, set a SERVER_PORT environment variable to override.

Postcodes are returned from requests in the following format:

http://localhost:8150/places/v1/addresses/postcode?postcode=BS161A&key=foo

Responses are keyed from postcode.

Stubbing

The service uses Wiremock to serve stubbed responses. See src/main/resources/mappings.