boyney123/mockit

Add more status codes

Open

#2 ouverte le 20 avr. 2019

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)JavaScript (1 576 stars) (76 forks)batch import
enhancementgood first issue

Description

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 :)?

Guide contributeur