Is there any way to call a URL (rest url) from xaction ..?

I would like call a URL , let that be "http://localhost:8080/pentaho/api/system/refresh/mondrianSchemaCache" for a moment .
Tried using JavaScript , but .
Can some one help me to know how can we call URL from Xaction ..?



Thanks,
Surya Thanuri