Trying to send object data over RestAPI, not coming through as an array

Hi, anyone know how to send a variable over Rest API? I keep running into one sytax issue or another. Thanks!

  • Goal: Im trying to send the value of a textbox in the body of a Rest API query

  • Steps: When I reference the data IE: txtoutput.value, its not an array its a string with double quotes that throws off the API request

I tried a number of other methods to try to get rid of the quotes but cant figure out a way to get this to work.

I solved this by creating the full text of the query and using the body raw.

1 Like