I tried to run demorestbridge inside Lazarus in debug mode.
When the web browser points to
http://localhost:3000/REST/metadata
the debugger shows an error message that says:
'project SQLDB REST bridge raised an exception of class 'EHTTP' with
message: No REQUEST_METHOD passed from server.. At ad
On 27. 10. 2022. 19:03, duilio foschi via lazarus wrote:
I tried to run demorestbridge inside Lazarus in debug mode.
When the web browser points to
http://localhost:3000/REST/metadata
the debugger shows an error message that says:
'project SQLDB REST bridge raised an exception of class 'EHT
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
RES
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 FOUN