Skip to content

Automatic sending of CORS headers on stub responses #48

@marcinkp

Description

@marcinkp

WireMock supports sending CORS headers for stub responses.

Add configuration for enable automatic sending of CORS headers on stub responses like in WM.

Use case

Consider developing SPA - for exaple react app. Application during development is avaiable on port 3000, but View as Published app is available on port 4502. It is not possible to handle it- because of CORS. You can add headers on mocks, but easier way would be to have possibility on tool by default

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions