Skip to content

Instantly share code, notes, and snippets.

@OrionStark
Created February 11, 2020 03:34
Show Gist options
  • Save OrionStark/b2a71e413a0ecf8d54925affb911db68 to your computer and use it in GitHub Desktop.
Save OrionStark/b2a71e413a0ecf8d54925affb911db68 to your computer and use it in GitHub Desktop.
services:
firstService:
port: 3422
base_url: http://localhost
endpoints:
get:
- /user
- /item
- /testing
put:
- /user/*/*/fdf
- /item/*/*
delete:
- /user/
- /item/
post:
- /user/create
- /item/create
secret_key: mainServiceIsRestrictedOnly
secondService:
port: 3400
base_url: http://localhost
endpoints:
get:
- /hello
- /user/*
put:
- /user/hello
delete:
- /user/delete/*
post:
- /user/create
secret_key: mainServiceIsRestrictedOnly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment