API Explorer help

In the API explorer when I click on show query, it shows the API call as:

POST https:///v2/users//devices//led

How do I use this on a different webpage to create a button to operate the led?

I also tried pasting the link after POST on the address bar of my browser with led=1, it says " 401 unauthorized "

Thank you

Hi,

can you see something like the following?

You cannot post the address in the browser, as it is required to send some credentials in headers, and body with the required information.