RTE with Web

Hello,

 

Wanted to know if I can use web_rest method in RTE Protocol script.

 

If not..then is there any way to call rest service from RTE script.

 

Thanks.