Programmatically set API Request params from input

Answered

Hi, I'm new to Xano and trying to build a function that takes a params object as an input and maps it to the params of an API Request.

My input is as follows: 'Type: object'; 'Structure: single'

I tested the input using an object such as:

{ 'page':1, 'pageSize':1ย }

I then add the params variable to the API Request in the params field. This doesn't seem to work: in the debugger, I see 'params:ย [0]'. I thought this would work since the API Request function's params argument is an object by default. Any help?

5 replies