Property reference

glide.rest.allow.empty.content.attachment.source.id

Allows empty-content REST requests to use an attachment as the request body without an attachment source ID. With the default enabled, POST, PUT, and PATCH requests can use an attachment this way; disabling it requires a source ID.

Default
true
Type
boolean
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? For empty-content POST, PUT, and PATCH requests, allows an attachment to serve as the request body when no attachment source ID is provided.
What area does it affect? REST request handling
What does the default mean? The default value is "true", which means this behavior is enabled by default.
When should you review it? Review when changing how empty-content REST requests identify attachments used as request bodies.

Property record

No out of the box record exists. ServiceNow scripts read this property and use the default value shown until you create it.

Property name glide.rest.allow.empty.content.attachment.source.id
Type boolean
Application Not stated
Default value true
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Used in

Out of the box artefacts that read this property. Append the path to your instance URL to open the record and see how the value is used.

More in glide.rest

Other properties in the same namespace.

All 30 properties in glide.rest →