nyu-devops-customers/customers

Add content type check decorator

Closed this issue · 0 comments

As a ... devoloper
I need ... the request to be content
So that ... server would be more robust

Assumptions:

  • Add a decorator that can check the request content type.

Acceptance Criteria:

If a interface only accept a json request
When client issue a request with wrong content type parameter
Then return a 415 error