pedestal

Karthik 2024-07-09T02:24:44.865339Z

I wrote a Pedestal app that works fine in leinengen repl https://youtu.be/S8N5je3nN0c , but when I do lein run it seems not to work properly, the body-params seems not to get passed from curl to pedestal. Is there a way to bundle pedestal project in some way, run it from my command line and use it as a personal web server?

2024-07-09T10:41:56.893799Z

These would be questions for #leiningen

👍 1
Karthik 2024-07-09T10:57:57.954619Z

Thanks will post it there.

hlship 2024-07-09T16:01:13.525139Z

The new deps-new template for Pedestal does support this; but it doesn't support Leiningen.

Karthik 2024-07-09T17:03:44.988529Z

@hlship Do you mean this one http://pedestal.io/pedestal/0.7/guides/embedded-template.html ?

hlship 2024-07-09T17:09:28.934719Z

Yes.

hlship 2024-07-09T17:10:10.798069Z

Though it is not set up for body params, so that would be something nice to add in 0.7.1.

hlship 2024-07-09T17:12:01.376699Z

https://github.com/pedestal/pedestal/issues/861

👍 1