I double checked and it worked (with test.byte). If you are interested in such a bug my config is given there Can you share your secret to make ocsigen-start work?
Thanks for your advice and both links !
Unfortunately, it seems that the first tutorial is broken, as the code leads to this error message I do not understand:
File "upload_pic.eliom", line 17, characters 30-36:
Error: This expression has type
?use_capture:bool ->
#Js_of_ocaml.Dom_html.eventTarget Js_of_ocaml.Js.t ->
Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t Lwt.t
but an expression was expected of type
([< Html_types.input ] as 'a) Eliom_content.Html.To_dom.elt =
'a Eliom_content.Html.elt
Makefile.os:284: recipe for target '_client/upload_pi.cmo' failed
make: *** [_client/upload_pi.cmo] Error 2
error matches “submit” of line “clicks (To_dom.of_input submit)”.
The second resource is a bit difficult to me right now, I imagine I can get inspired with demo_notif.eliom in ocsigen_start.
By the way, I think I can use an action (with NoReload, or a Unit), and maybe I can get feed-back from the server with a notification, when I learn to use it.
Thanks again for your precious help !
Best !