issam99
16 Jun '17
I have wirte own simple module folio-mymodule and did put it in folder okapi
ModuleDiscriptor.json
{
“id” : “mymodule”,
“name” : “Hello EBSCO”,
“provides” : [ {
“id” : “mymodule”,
“version” : “1.1”,
“handlers” : [ {
“methods” : [ “GET”, “POST” ],
“pathPattern” : “/mymodule”
} ]
} ],
“launchDescriptor” : {
“exec”:“folio-mymodule”
}
}
in purpose to test
- started okapi success
- in other terminal window curl -i -w ‘\n’ http://localhost:8080/mymodule
error curl: (7) Failed to connect to localhost port 8080: Connection refused
what could be the issue ??