Skip to content
Dustin edited this page Jun 27, 2019 · 1 revision

redcap-port-set! specifies a non-standard port for the REDCap API. The default port used is 443. This is the default port used in the httpsclient module.

Parameter Description
port Port for the REDCap API, as a number.

Examples

Example 1: Exporting all primary ids of a project using a testing server installation, which uses a non-standard port.

> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONTESTSERVER.ca")
> (redcap-port-set! 8088)
> (redcap-export-ids redcap:hostname redcap:token)
("1" "2" "4" "4")
Clone this wiki locally