control

bind additional listening ports

only supported on Netty version

put/mockserver/bind

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/bind
  • Auth: none declared

Request body

portsnumber[]
dnsPortnumber

UDP port of the DNS mock server; only in the answer to /mockserver/status, and only while DNS mocking is on

Response

listening on additional requested ports, note: the response ony contains ports added for the request, to list all ports use /status

portsnumber[]
dnsPortnumber

UDP port of the DNS mock server; only in the answer to /mockserver/status, and only while DNS mocking is on

Changes

No recorded changes to this operation across all 1 revision of this API.