On 27. 10. 2022. 20:29, duilio foschi wrote:
Dear Zeljko,
If this results in error 400-40xx
this is exactly what happens :)
c:\>curl -u Detlef:secret -H "Content-Type: application/json"
"http://localhost:3000/REST/metadata";
{
"error" : {
"code" : 404,
"message" : "NOT FOUND"
}
}
then you must include connection after
REST
eg http://localhost:3000/REST/YOURDEFAULTCONNECTIONNAME/metadata
gulp! Which is my default connection name?
check TSQLDBRestDispatcher.Connections, there should be at least one
connection and check that connection name.
zeljko
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus