Using request module instead of curl to send litmus tests

No need to write the data.xml now.