Hi,

This is in regards to #11594 
<https://github.com/ansible/ansible/issues/11594>. Many APIs these days 
allow embedding BASE64 encoded binary data in JSON documents. Here's an 
example <https://docs.databricks.com/api/latest/workspace.html#import> from 
Databricks, wherein the "content" field can contain BASE64 encoded binary 
data:

{
  "content": "MSsx\n",
  "path": "/Users/u...@example.com/project/ScalaExampleNotebook",
  "language": "SCALA",
  "overwrite": true,
  "format": "SOURCE"}


The lookup command cannot load binary files though. Consequently, we need 
to use `command` and `curl` in our Ansible playbooks.

Any plans to allow embedding BASE64-encoded binaries in JSON payloads when 
using the `uri` module?

Thanks in advance,
Behrang


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d3295ba4-e4d4-4773-93d4-8d579ad13952%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to