Authorization enables you to pass your API key, document location, other optional parameters and get a SessionID in return which is then passed to editor. Authorization not only allows you to send data securily to Bread Cloud, but also keep it hidden from end users.
Request:
http://cloud.breadsoftware.net/getSession?api=<API KEY>&document=http://www.yourserver.com/doc/abc.docx
<API KEY> is the Bread API key
Now the sessionID received in Step 1, should be passed in Step 2.
You can simply pass the sessionID to http://cloud.breadsoftware.net to generate an editor link that can be linked or embeded in an iframe as shown.
Check Options to see how to set height/width of editor.
Link Code for editor
http://cloud.breadsoftware.net/?<SESSION ID>
<style> body { margin: 0; padding: 0; } </style> <iframe height=100% width=100% marginwidth=0 marginheight=0 frameborder=0 scrolling=no src="http://cloud.breadsoftware.net/?<SESSION ID>"> Your browser does not support iframes.</iframe>
2014 © Bread Software. ALL Rights Reserved. Privacy Policy | Terms of Service