Description Usage Arguments Value
Internal package function to create a response
1 | construct_response(ghost_response)
|
ghost_response |
The http object returned from an api call. |
Response object. The response object is a named list with three objects. #'
message: a string which can be used to provide feedback messages to the user.
status: a boolean value which indicates if the api call was succesfull.
content: the parsed content from the http request is the request was successful. If an error occurred the error is returned in the content.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.