curl --request POST \
--url http://localhost:4000/api/feature-flags/{flagName} \
--header 'Content-Type: application/json' \
--data '{
"userId": "<string>"
}'
{
"enabled": true
}
Check if a feature flag is enabled
curl --request POST \
--url http://localhost:4000/api/feature-flags/{flagName} \
--header 'Content-Type: application/json' \
--data '{
"userId": "<string>"
}'
{
"enabled": true
}
Feature flag status
The response is of type object
.