boyney123/mockit

Add more status codes

Open

#2 opened on Apr 20, 2019

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (76 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (1,576 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide