code: def submit_curation():
      
      if request.json is None:
          abort(Response('Missing application/json header.', 415))
      # Get input parameters
      corpus_id = request.json.get('corpus_id')
      curations = request.json.get('curations', {})
      try:
          curator.submit_curation(corpus_id, curations)
      except InvalidCorpusError:
          abort(Response('The corpus_id "%s" is unknown.' % corpus_id, 400))
          return
      return jsonify({})
docs: Submit curations for a given corpus.
  
      The submitted curations are handled to update the probability model but
      there is no return value here. The update_belief function can be called
      separately to calculate update belief scores.
  
      Parameters
      ----------
      corpus_id : str
          The ID of the corpus for which the curation is submitted.
      curations : dict
          A set of curations where each key is a Statement UUID in the given
          corpus and each key is 0 or 1 with 0 corresponding to incorrect and
          1 corresponding to correct.