ligo/vendors/ocplib-resto
Vincent Bernardoff 76bf25646c Resto: fix CORS
CORS also requires to send the "Access-Control-Allow-Origin" header on
direct requests or requests following preflight requests.
2018-05-12 23:58:20 +02:00
..
2018-05-12 23:58:20 +02:00

ocplib-resto (WIP)

This is a minimal OCaml library for type-safe HTTP/JSON RPCs.

This is based on a notion of service, à la Eliom, and it uses ocplib-json-typed for self-documenting JSON encoders.

See test_ezresto-directory/ezResto_test.ml or test_resto-directory/resto_test.ml for example.`