3

Is it possible to call (or is request the word?) a page defined with "defpage" complete with POST variables in the REPL?

I've created a page with (defpage [:post "/form"] [req] (common/layout ...))

And I would like to see the output of the layout call on the REPL.

redcartel
  • 292
  • 1
  • 3
  • 15

1 Answers1

2

Have a look at the noir.util.test namespace. There are some examples of its usage at the noir source code

DanLebrero
  • 8,545
  • 1
  • 29
  • 30