Send enum value as body in Postman
问题 I'm trying to call my API using postman, but the problem I'm facing is my API is using PUT method which takes enum object as a body.. How can I send enum in postman.. please help. export enum TestStatus { allCandidates, completedTest, expiredTest, blockedTest } this is my enum , I'm using Angular 2. 回答1: Providing you have a method that takes [FromBody]TestStatus status as a parameter. Click on Body tab and select raw , then JSON(application/json). Use this Json: { "TestStatus": "expiredTest"