Sending RAPID Module to virtual controller using python script?

Hello everyone, 
I am trying to send a RAPID Module that is written externally to the virtual controller in Robotstudio. 

I am able to control/run existing RAPID modules the robot inside robotstudio using a python script. However I am unable to understand how to load a RAPID Module into our simulation using python GET or POST.

Thank You in advance.