AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

API Request Options

AdvContentRequest and AdvContentRequestById objects contain the following options that may be modified

  • Header - Json object of headers that will be sent with the request (default: { 'Authorization': 'Basic' }).
  • Host - Host URL that the request will be sent (default: '').
  • Authenticate - Must be set to 'true' if the API has been marked as 'secure' (default: false).

Setting Request Options


JavaScript
var options = {
    Header: { 'Authorization': 'Bearer your-token-here' },
    MaxRecords: 50,
    SkipRecords: 0
};