Turn MT5 Terminal into REST APIs

 

Hi! 

 I am trying to connect an app to MT5 terminal to place trades through the app. In a similar post someone mentioned I can do this by running an EA in MT5 and sending http requests. To rephrase, I am trying to create an EA which will basically convert MT5 terminal to REST APIs. 

I do not know how to convert MT5 into a server. If there are any pre-existing libraries or any resource, please direct me to that

Reason: