curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.exposePort \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"port": 33280,
"description": "<string>"
}
'{
"previewUrl": "<string>"
}curl --request POST \
--url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.exposePort \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"port": 33280,
"description": "<string>"
}
'{
"previewUrl": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
The preview URL for the exposed port.
Was this page helpful?