Web app integration: how to render GUI?
Newb dev here
There is a POST to the "client callback url" and my app receives a post request but I have no idea what I am supposed to send back in order to have it render a GUI for the user (when I send some plain JSON it shows up but HTML doesn't render as actual elements, just a bunch of text.)
Literally directions are:
- Box sends a request to the following URL (the primary callback URL plus the callback parameter):
http://www.doceditor.com/service?apikey=abc&file=&redirect=
. - The response from the callback URL displays a user interface to the user who made the request. The popup has all the information needed to continue the action and an additional client callback is not needed.
(https://developer.box.com/guides/applications/web-app-integrations/configure/)
How do I do that bolded part?
PS: If there is a good boilerplate please direct me to it!
-
Official comment
Hey Christina,
What language are you developing in? If you haven't already I'd recommend checking our our SDKs. For example, here's how authentication is done using our python SDK.
The piece you're referring to is in lines 51-52. I hope this might help get you on the right track!
Best,
Kourtney
Comment actions
Please sign in to leave a comment.
Comments
2 comments