Skip to content

Commit

Permalink
vignette point to new server
Browse files Browse the repository at this point in the history
ref #542
  • Loading branch information
wibeasley committed Oct 14, 2024
1 parent fcc274e commit cfaee98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/TroubleshootingApiCalls.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ knitr::include_graphics("images/PostmanScreenshot.png")

1. **Is the URL/URI correct?** Notice the url typically ends with "api/" so it resembles `https://redcap.ouhsc.edu/redcap/api/` and *not* `https://redcap.ouhsc.edu/` (even if <https://redcap.ouhsc.edu/> redirects to <https://redcap.ouhsc.edu/redcap/>).

1. **Is Postman installed and operating correctly?** If it helps to start with a different REDCap server, you can use this dummy project containing fake data hosted by the [OUHSC BBMC](https://www.ouhsc.edu/bbmc/). The url is `https://bbmc.ouhsc.edu/redcap/api/`. There are three key-value pairs: (1) the 'token' is `9A81268476645C4E5F03428B8AC3AA7B`, (2) the 'content' is `record`, and (3) the 'format' should be `CSV`. When checking your own server, the token value should change, but the content and format should not. It should return five records in a CSV format. The 'status' should be `200 OK`. The result should look roughly like this. Notice the line breaks were included in the text values themselves.
1. **Is Postman installed and operating correctly?** If it helps to start with a different REDCap server, you can use this dummy project containing fake data hosted by the [OUHSC BBMC](https://www.ouhsc.edu/bbmc/). The url is `https://redcap-dev-2.ouhsc.edu/redcap/api/`. There are three key-value pairs: (1) the 'token' is `9A068C425B1341D69E83064A2D273A70`, (2) the 'content' is `record`, and (3) the 'format' should be `CSV`. When checking your own server, the token value should change, but the content and format should not. It should return five records in a CSV format. The 'status' should be `200 OK`. The result should look roughly like this. Notice the line breaks were included in the text values themselves.

```csv
record_id,name_first,name_last,address,telephone,email,dob,age,ethnicity,race,sex,height,weight,bmi,comments,demographics_complete
Expand Down

0 comments on commit cfaee98

Please sign in to comment.