Skip to content
Snippets Groups Projects
Commit a45b985e authored by PEDROLI Benjamin's avatar PEDROLI Benjamin
Browse files

Merge branch 'pilote'

parents f9836509 543070e5
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,17 @@ This section explains the different API route.
- `/api/beneficiaire/remove'`: This rotue is used in order to remove Usager domain and his trigger proccess. Only availabe by POST. This route is not accessible from any part of TS FRONT application. Protected rout by the same token of create route.
## Add one benificiary by Postman
- Create a POST request
- Entry the URL: http://localhost:3020/api/beneficiaire/create or https://pilote-agent-rec.grandlyon.com/api/beneficiaire/create
- Push in Authorizathion/ Bearer Token => the token use by "process.env.COZY_SECRET"
- In Body, as JSON format example :
- ``
{"cozy_name":"pilote-rec.cozy.self-data.alpha.grandlyon.com","trigger":"https://pilote-rec.cozy.self-data.alpha.grandlyon.com/jobs/webhooks/d010bf3fa2aed6f3c6584ea93a54affc"}
``
- Local : ``
{"cozy_name":"mps.cozy.tools:8080","trigger":"http://mps.cozy.tools:8080/jobs/webhooks/"}
``
# Cozy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment