How to add dynamic input at the end of the api request url?

Hi! I have the following sample inputs:

data[Name]=John

data[LastName]=Cruz

data[InvoiceDate]=01/01/2023

and I would like to add them in the end of this sample URL:

https://www.pdfotter.com/api/v1/pdf_templates/tem_12345/fill?

the URL will look like this:

https://www.pdfotter.com/api/v1/pdf_templates/tem_12345/fill?data[Name]=John&data[LastName]=Cruz&data[InvoiceDate]=01/01/2023

Do I add the dynamic inputs as params to do this? I've already set them however whenever I run and debug it, the PDF comes out as empty, none of the dynamic inputs have been filled in the PDF. The request url in the debugger is also just: https://www.pdfotter.com/api/v1/pdf_templates/tem_12345/fill? and not like the expected URL above.

Thank you in advance to those who'll help!

12 replies