5 #Optional : import this utility class if returning payload
6 from cds_utils.payload_coder import send_response_data_payload
8 # Do your work... using try .. except to handle errors and return False if error
11 # Optional : return a JSON payload to the be published under the response-data output attribute
12 send_response_data_payload({"étudiant": ["Mélanie", "Joséphine"]})
14 # Always return a boolean indicating success or not..