Is there any way to use HTTP Service to click a button on a page?

Theres a button I need clicked on a HTML Website, its gonna return a value I need for a plugin

1 Like

If you open up your developer console in chrome or whatever browser you use and track requests (it is usually under the network tab), you might see it send a request as soon as you click that button. If so, you can try to replicate that request.

its a input id so idk if I can track any request being made, I dont wanna reveal too much about the project cuz I think its gonna be very sucessful and I dont want anyone to steal it

There used to be APIs for it but I cant find any

HTTP Requests aren’t like regular people. Sure they can get a page’s HTML content (if no request handler is set up (ex: express)) but they aren’t able to click or interact with the site. HTTP Requests are used to GET, and POST (I cannot remember the other requests off the top of my head.) So there is no way for an HTTP request to click or interact with a website.

(There are ways to have a bot or use code in other services to press buttons on HTML pages but not in ROBLOX.)

If you are using a service that you need you to click on a button to generate something it’s more worth your time looking for an API they have or if it’s your own project I would create your own request handler using express or other services (express is in Node.js which I’m better at)

1 Like

I did look for an API but I didn’t find any and then I went to Inspect Element and found this
image

Do you own the webpage? If so, upon receiving the request simply call the function that the button would call

Upon the user pressing the button, have a GET request to get if the button has been pressed and then get the value you need.

nope but it dosent work anyway but I got another solution, i used a diffrent service

The button ID is < button class=“btn btn-success” id=“btnCheck” >

Is there any way to click this button?

I know I can do it in JS but I want to know if it can be done in http service