Inputs for compute from webpage

I have a project that needs to generate a mesh based on lines drawn on a webpage. I’m receiving some inputs from the site using a Python component, but the boolean values and the lines are not being detected, while values from other sliders are coming through correctly. How can I fix this?

I think you need to use Context Get components (ie. Get Number, Get Boolean, etc) to get the values from your front end into your definition. Have you looked at how the data examples from the App Server sends data to be computed on the backend? GitHub - mcneel/compute.rhino3d.appserver: A node.js server for solving Grasshopper definitions on Rhino Compute · GitHub