ADO.NET Provider for REST

Build 26.0.9655

APIKeyType

Specify how the APIKey will be added to the request.

Possible Values

Header, QueryParameter

Data Type

string

Default Value

"Header"

Remarks

This property can be set to either Header to add the key as a request header or QueryParameter to add the key as a query parameter.

For example, if this property is set to Header, APIKeyName is set to 'custom_api_key', and APIKeyValue is set to 'abc', then requests will include the header custom_api_key: abc. If this property is set to QueryParameter, APIKeyName is set to 'custom_api_key', and APIKeyValue is set to 'abc', then the request URL will include the query parameter custom_api_key=abc.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655