We could pass a list as the body argument to POST() and specify encode = "json", but building the JSON package manually gives us greater control and the ability to compare to results from curl on the command line.
List of parameters.
When using curl on command line, you might need to give -H "Content-Type: application/json".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.