From 0da9ef6ddea24263a56a5f90f91bc4b89ad3e39c Mon Sep 17 00:00:00 2001 From: chris-s-friedman Date: Tue, 16 May 2023 14:29:32 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20point=20documentation=20at=20the?= =?UTF-8?q?=20kidsfirstdrc.org=20prod=20domain,=20not=20kids-first.io?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 📝 point dataservice documentation at prod don't point docs at qa --- dataservice/api/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dataservice/api/README.md b/dataservice/api/README.md index b83defb21..ee8728a79 100644 --- a/dataservice/api/README.md +++ b/dataservice/api/README.md @@ -19,12 +19,12 @@ Curl is the quickest way to communicate with the api from a unix shell Get the system status: ```bash -curl -H "Content-Type: application/json" http://kf-api-dataservice-qa.kids-first.io/status +curl -H "Content-Type: application/json" https://kf-api-dataservice.kidsfirstdrc.org/status ``` Create a new study with the name 'my study': ```bash -curl -XPOST -H "Content-Type: application/json" http://kf-api-dataservice-qa.kids-first.io/studies -d '{ "name": "my study" }' +curl -XPOST -H "Content-Type: application/json" https://kf-api-dataservice.kidsfirstdrc.org/studies -d '{ "name": "my study" }' ``` ## Python @@ -35,7 +35,7 @@ To get the system status: ```python import requests -resp = requests.get('http://kf-api-dataservice-qa.kids-first.io/status', +resp = requests.get('https://kf-api-dataservice.kidsfirstdrc.org/status', headers={'Content-Type': 'application/json'}) print(resp.json()) @@ -49,7 +49,7 @@ body = { "name": "my name" } -resp = requests.post('http://kf-api-dataservice-qa.kids-first.io/studies', +resp = requests.post('https://kf-api-dataservice.kidsfirstdrc.org/studies', headers={'Content-Type': 'application/json'}, json=body)