php - How to construct API URL using POST method
one text
Solution:
As Barmar said, form submit functionality automatically passes form values to the action. So you would have your form action set to the Lansweeper endpoint, and a button type=“submit”
on the form. When submit is clicked, the form values are passed for Lansweeper to handle.