mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
9 lines
406 B
Plaintext
9 lines
406 B
Plaintext
make app:
|
|
curl -H "Content-Type: application/json" -X POST -d '{"name":"myapp","password":"xyz"}' http://localhost:8080/test/1/projects/123/apps
|
|
|
|
register route:
|
|
curl -H "Content-Type: application/json" -X POST -d '{"path":"/hello.rb","image":"treeder/hello.rb", "type":"run"}' http://localhost:8080/test/1/projects/123/apps/myapp/routes
|
|
|
|
get route:
|
|
curl -i -X GET http://localhost:8080/hello.rb?app=myapp
|