Description Usage Arguments Details Value
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.
1 | get_post_response(method, params = list())
|
method |
RPC method. |
params |
List of parameters. |
When using curl on command line, you might need to give -H "Content-Type: application/json".
HTTP response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.