brantje / nextnote

A full Evernote / OneNote style WYSIWYG note editor for Nextcloud / ownCloud. Join our telegram at: https://t.me/NextNote
GNU Affero General Public License v3.0
163 stars 19 forks source link

Echo not working #44

Closed alexisrosano89 closed 6 years ago

alexisrosano89 commented 6 years ago

Hello!

I'm doing an echo ...... in nextnoteapicontroller (because in this side i'm creating a pdf in a string), but I can't see that in the screen.

What I have to do??

Regards!

ThomasDaheim commented 6 years ago

I don't think it works like that... Return fro the server is whatever is returned in NextNoteMapper (mainly a note object or a list of them). You would probably add a new object to the return value and extract it on the client side - otherwise you would need to extend the note object itself.

alexisrosano89 commented 6 years ago

Okey, I understand!

Thank you!

brantje commented 6 years ago

You can use

echo "string";
exit;