Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 399 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 399 Bytes

dnet

A REST server and client using LFE/OTP.

Usage

./repl
lfe> (dnet:start)

APIs

λ curl -X GET "http://localhost:8080/"
{"status": "main"}% 
λ curl -X POST \
  'http://localhost:8080/http' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://jsonip.com/"
}
'
<div>Task scheduled successfully</div>%