Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -200,7 +200,8 @@ function handleEvent(event) { | ... | @@ -200,7 +200,8 @@ function handleEvent(event) { |
| 200 | }; | 200 | }; |
| 201 | 201 | ||
| 202 | request.post(options, function (error, response, body) { | 202 | request.post(options, function (error, response, body) { |
| 203 | - var data=JSON.stringify(JSON.parse( body)); | 203 | + var data=JSON.stringify(JSON.parse(body), null, ' '); |
| 204 | + console.log(data); | ||
| 204 | var text=''; | 205 | var text=''; |
| 205 | while(data.indexOf('text\\')!=-1) | 206 | while(data.indexOf('text\\')!=-1) |
| 206 | { | 207 | { | ... | ... |
-
Please register or login to post a comment