How to create form to send variables to an api call?

I have a server script set to api and it is working good.

Currently, I am changing the variables in the server script then going to another tab in the browser and calling the api.

I am hoping to create a form where I fill in the needed values for the variables then press a button.

This button will call the server script api with the variables and substitute into the server script and run the server script.

Is this possible?

If yes, how to do it.

Any links to some documentation would be great.

  • create the new doctype
  • check this checkbox to create a form

  • can call the api in after save in js file

u can also find a way to call the third party api

Thank you very much for sharing the information. Now I have a starting point to work on.

Thank you again for sharing. I do appreciate it very much.

You’re very welcome. I’m glad the information was helpful and gave you a good starting point to work from.