Hii I have create custom endpoints for my rhino plugin. I want to test the the results of my endpoints from postman how can I do that ? I am attaching the endpoints I have created
I want to know how can I pass the arguements to endpoints from postman to check the results
This is the request, input time in my case was brep.
You can send the same body in text format using postman. It’l change based on what input you’re expecting
let args = [geometry];
// Send a request to the Rhino Compute server to compute the volume
fetch('http://123.123.123.123/rhino/geometry/brep/getvolume-brep', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'RhinoApiToken': '123x123',
'User-Agent': `compute.rhino3d.js/0.11.0`
},
body: JSON.stringify(args) // Send the argument list in the request body
})