boyney123/mockit

Add more status codes

Open

#2 aperta il 20 apr 2019

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (76 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (1576 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

At the moment MockIt supports

export const StatusCodes = {
  OK: "200",
  CREATED: "201",
  NO_CONTENT: "204",
  BAD_REQUEST: "400",
  FORBIDDEN: "401",
  INTERNAL_SERVER_ERROR: "500"
};

Might be worth adding some more? https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

If anybody is up for the challenge :)?

Guida contributor