Skip to content
Advertisement

Tag: yaml

How do I send a YAML file as a base64 encoded string?

I am trying to send a yaml file as a base64 string so that this code works: In the above code response.data.content should have the data. I have this route: The code is working fine except that the client code expects the base64 string in a property called content in the following code: But the string is in response.data. How

Advertisement