An example init actor for Comunica that triggers a HTTP request using the HTTP bus.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
$ yarn add @comunica/actor-init-http
This package exposes the binary
config/config-example.json contains an example on how to run this actor,
which will trigger on the Runner's 'init' event.
As defined by
the actor allows optional HTTP request parameters to be changed.
When executed, the actor will take the URL from the first CLI parameter, combine it with the parameters from the config file, perform the request, and print its response to stdout.
Executing the following:
$ node bin/run.js http://fragments.linkedsoftwaredependencies.org
will print the response.