Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting environment variables #6

Merged
merged 16 commits into from
Dec 17, 2023
Merged

Setting environment variables #6

merged 16 commits into from
Dec 17, 2023

Conversation

rahulkp220
Copy link
Member

@rahulkp220 rahulkp220 commented Dec 17, 2023

POST environment vars

curl -XPOST http://127.0.0.1:8844/beta/envs/ddfcbf9e-9cbc-11ee-8c90-0242ac120002\?project_id\=e2b45d76-9cbc-11ee-8c90-0242ac120002 -H 'Content-Type: application/json' -d '{"a":"b", "c":"d"}'

GET environment vars

# with project_id
curl http://127.0.0.1:8844/beta/envs/ddfcbf9e-9cbc-11ee-8c90-0242ac120002\?project_id\=e2b45d76-9cbc-11ee-8c90-0242ac120002

# without project_id
curl http://127.0.0.1:8844/beta/envs/ddfcbf9e-9cbc-11ee-8c90-0242ac120002```

@rahulkp220 rahulkp220 self-assigned this Dec 17, 2023
@rahulkp220 rahulkp220 requested a review from Alw3ys December 17, 2023 11:30
@rahulkp220 rahulkp220 changed the title [DRAFT] Setting environment variables Setting environment variables Dec 17, 2023
@Alw3ys Alw3ys merged commit 9d2cba2 into main Dec 17, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants