Example #1
0
 def post(self):
     """
     Creates a new finding object.
     """
     data = request.json
     create_category(data)
     return None, 201
Example #2
0
 def post(self):
     """
     Creates a new AIDS performance category.
     """
     data = request.json
     create_category(data)
     return None, 201
Example #3
0
 def post(self):
     """
     Creates a new blog category.
     """
     data = request.json
     create_category(data)
     return None, 201
Example #4
0
 def get(self, id):
     """
     Returns a list of related Findings.
     """
     data = request.json
     create_category(data)
     return None, 201
Example #5
0
    def post(self):
        """
        Creates a new blog category.

        * Send a JSON object with the new category's name in the request body.

        ```
        {
          "name": "New Category Name"
        }
        ```

        """
        data = request.json
        create_category(data)
        return None, 201