Skip to main content
Question

Web app integration: how to render GUI?

  • May 22, 2025
  • 2 replies
  • 37 views

Forum|alt.badge.img

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!

2 replies

Forum|alt.badge.img

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


Forum|alt.badge.img

Hi Kourtney, thanks for the help. So you are saying I need to go through the authentication flow before I can even BEGIN to render a gui for the user? Is there a corresponding node sdk that works as a boiler plate for a web app integration? 

Thanks so much!

Best, 

Christina Liang