curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
{
"requestId": "<string>",
"match": true,
"flagKey": "<string>",
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestDurationMillis": 123,
"reason": "UNKNOWN_EVALUATION_REASON"
}
curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
{
"requestId": "<string>",
"match": true,
"flagKey": "<string>",
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestDurationMillis": 123,
"reason": "UNKNOWN_EVALUATION_REASON"
}
curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
{
"requestId": "<string>",
"match": true,
"flagKey": "<string>",
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestDurationMillis": 123,
"reason": "UNKNOWN_EVALUATION_REASON"
}
curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://try.flipt.io/evaluate/v1/namespaces/default/variant \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"context": {},
"entityId": "<entityid>",
"flagKey": "<flagkey>",
"namespaceKey": "<namespacekey>"
}'
{
"requestId": "<string>",
"match": true,
"flagKey": "<string>",
"segmentKeys": [
"<string>"
],
"variantKey": "<string>",
"variantAttachment": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"requestDurationMillis": 123,
"reason": "UNKNOWN_EVALUATION_REASON"
}