Skip to content
Browse files

Update README.md

  • Loading branch information...
1 parent e1d96b1 commit 5c5162b3ccba4d981b97c8e998aefe306b91953f @kushkella kushkella committed Feb 25, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -126,6 +126,7 @@ data = {
"text_field": "Hello World!",
"image_field": "http://abc.com/xyz.png",
"chart_multi_value_field": [
+ ["First", "Second", "Third"],
[20, 40, 30],
[50, 60, 10]
],
@@ -138,6 +139,8 @@ data = {
pagify.generatePDF("71d620fc773a11e288cce006e61619ba", data, function(da) {
template = da;
});
+
+Note: A successful response is of binary type, where as a failed response will be a hash containing error message and status code.
```
If the function call is successful the response is in binary format which can be saved as a PDF using ```File``` class.
@@ -152,6 +155,7 @@ A matrix of positive integer values supplied as nested array.
```javascript
{
"chart_multi_value_field": [
+ ["First", "Second", "Third"],
[20, 40, 30],
[50, 60, 10]
]

0 comments on commit 5c5162b

Please sign in to comment.
Something went wrong with that request. Please try again.