Running Script by RestAPI

Hey guys,
I’m trying to execute a script on my RPi based HA server by an app I’m creating. I was wondering what would be the simplest way to do such a thing using REST. (Build up HTTP Requests).

Also, please mention what should I change in the configuration.yaml file in order to make your method work.

Thanks, any help would be appericiated
-Nadav

The documentation found by searching looks pretty complete to me.

https://developers.home-assistant.io/docs/en/external_api_rest.html

Well if it is so clear to you… Can you please help me by just mentioning the function that would serve my needs? (Execute script by name)

Configuring the HA system to run with API isn’t so clear as well… It doesn’t say how it should be written, just that the API component should be added and that it depends on the HTTP component. Both of the things aren’t clear to me as a beginner.
Thanks again for your help