Description Usage Arguments Value Examples
Function to call the Ghost api.
1 | make_api_call(request_type, ghost_url, post_body)
|
request_type |
Can take one of four values. POST for creating a post,GET for obtaining information,DELETE for deleting posts.,PUT for updating a existing post. |
ghost_url |
the endpoint (including url parameters) where to call the ghost api. |
post_body |
IF a POST or PU request is made a valid post object is required. |
Response object. See the construct_response
function.
1 | make_api_call("POST",ghost_url,post_body)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.