Currently, our handling of encoding is inconsistent - some functions handle the encoding while others do not. Moving forward, we should standardise this behaviour by having the backend be in charge of base64 encoding/decoding. This also means any YAML needs to be loaded and sent as a JSON response.
Currently, our handling of encoding is inconsistent - some functions handle the encoding while others do not. Moving forward, we should standardise this behaviour by having the backend be in charge of base64 encoding/decoding. This also means any YAML needs to be loaded and sent as a JSON response.