slug (property)

A header added to the HTTP request.

Syntax

@property (nonatomic,readwrite,assign,getter=slug,setter=setSlug:) NSString* slug;
- (NSString*)slug;
- (void)setSlug:(NSString*)newSlug;
public var slug: String {
  get {...}
set {...} }

Default Value

""

Remarks

This property requests that the server use the header's value as part of any URLs that it would normally generate when creating the Entry or Media resources. Some servers ignore this header.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]