Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Jan 16, 2025
1 parent 891704b commit 724affe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ docker run -e DIODE_API_KEY={YOUR_API_KEY} -p 8071:8071 worker:develop \
##### Example cURL

> ```sh
> curl -X GET -H "Content-Type: application/json" http://localhost:8072/api/v1/status
> curl -X GET -H "Content-Type: application/json" http://localhost:8071/api/v1/status
> ```
</details>
Expand All @@ -91,7 +91,7 @@ docker run -e DIODE_API_KEY={YOUR_API_KEY} -p 8071:8071 worker:develop \
##### Example cURL
> ```sh
> curl -X GET -H "Content-Type: application/json" http://localhost:8072/api/v1/capabilities
> curl -X GET -H "Content-Type: application/json" http://localhost:8071/api/v1/capabilities
> ```
</details>
Expand Down Expand Up @@ -123,7 +123,7 @@ docker run -e DIODE_API_KEY={YOUR_API_KEY} -p 8071:8071 worker:develop \
##### Example cURL
> ```sh
> curl -X POST -H "Content-Type: application/x-yaml" --data-binary @policy.yaml http://localhost:8072/api/v1/policies
> curl -X POST -H "Content-Type: application/x-yaml" --data-binary @policy.yaml http://localhost:8071/api/v1/policies
> ```
</details>
Expand All @@ -148,7 +148,7 @@ docker run -e DIODE_API_KEY={YOUR_API_KEY} -p 8071:8071 worker:develop \
##### Example cURL
> ```sh
> curl -X DELETE http://localhost:8072/api/v1/policies/policy_name
> curl -X DELETE http://localhost:8071/api/v1/policies/policy_name
> ```
</details>

0 comments on commit 724affe

Please sign in to comment.