Beispiel #1
0
 def post(self):
     """
     Creates a new finding object.
     """
     data = request.json
     create_category(data)
     return None, 201
Beispiel #2
0
 def post(self):
     """
     Creates a new AIDS performance category.
     """
     data = request.json
     create_category(data)
     return None, 201
Beispiel #3
0
 def post(self):
     """
     Creates a new blog category.
     """
     data = request.json
     create_category(data)
     return None, 201
Beispiel #4
0
 def get(self, id):
     """
     Returns a list of related Findings.
     """
     data = request.json
     create_category(data)
     return None, 201
Beispiel #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