send data to external application

Hi! I would like to know how to send the data of patients received in orthanc to a URL like :

https://mydomain.com.br/patient/add?nome=teste2510&sexo=MASCULINO&nascimento=25/10/1981

You can probably write a small lua script (https://book.orthanc-server.com/users/lua.html).

E.g, add a OnStableStudy() callback in which you can use HttpPost to send data to your webserver.