I’m making a RESTXQ page that handles a form where the form can have a number of different parameters.

 

I’m not seeing a way to define a RESTXQ handler that can handle an arbitrary number of parameters of different names, i.e., if my URL is:

 

https://example.com/form-handler?foo=1&bar=2&fred=3&baz=4

 

Is there a way to define a RESTXQ handling function that doesn’t have to enumerate each of these parameters in its function declaration?

 

This is mostly looking for a convenience for not having to update a function declaration every time I add a field to a form that is constructed elsewhere and added to the page or maybe a dynamically-constructed form.

 

Thanks,

 

E.

_____________________________________________

Eliot Kimber

Sr Staff Content Engineer

O: 512 554 9368

M: 512 554 9368

servicenow.com

LinkedIn | Twitter | YouTube | Facebook