I want to use the V8 javascript engine standalone, e.g. I will run it in command line as explained here:
$> ./v8-shell -e 'print("10*10 = " + 10*10)'
I want the javascript to perform some http requests, preferably using jQuery APIs but XMLHttpRequest is also ok.
Is there any built in method in V8 to do this? If not is there any way to achieve it without implementing accessors/cpp extensions?
Not in V8 directly, but there is NodeJS that adds network and file system functionality, among other features.
To steal an example from the documentation: