cl-rest-server icon indicating copy to clipboard operation
cl-rest-server copied to clipboard

API example from docs does not work

Open svetlyak40wt opened this issue 5 years ago • 5 comments

Because rest-server:define-api now waits for superclasses list as the second argument.

svetlyak40wt avatar Dec 23 '20 20:12 svetlyak40wt

Syntax changed, yes. I'll see to update docs.

mmontone avatar Dec 23 '20 23:12 mmontone

I've updated the docs, but I suspect the docs need to be reviewed thoroughly. It's very likely there are many more inconsistencies.

mmontone avatar Dec 24 '20 01:12 mmontone

I just tried cl-rest-server to create a simple REST server and failed. Then I failed with reastas. And only ningle worked like I wanted.

In cl-rest-server handlers definition macro also does not work as documented :(

svetlyak40wt avatar Dec 24 '20 07:12 svetlyak40wt

OK. I'll update the docs. But also create a rest-server-demo ASDF system with a mini demo application

El 24 de diciembre de 2020 4:26:13 GMT-03:00, Alexander Artemenko [email protected] escribió:

I just tried cl-rest-server to create a simple REST server and failed. Then I failed with reastas. And only ningle worked like I wanted.

In cl-rest-server handlers definition macro also does not work as documented :(

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/mmontone/cl-rest-server/issues/12#issuecomment-750786503

-- Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

mmontone avatar Dec 24 '20 13:12 mmontone

I've just started a demo to see if I can improve things: https://github.com/mmontone/cl-rest-server/blob/master/demo/demo.org

mmontone avatar Dec 24 '20 15:12 mmontone