mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-18 11:22:25 -06:00
Always use a JSON object to convey change data when no body template is present
This commit is contained in:
@@ -42,7 +42,7 @@ The following data is available as context for Jinja2 templates:
|
||||
|
||||
### Default Request Body
|
||||
|
||||
If no body template is specified, and the HTTP content type is `application/json`, the request body will be populated with a JSON object containing the context data. For example, a newly created site might appear as follows:
|
||||
If no body template is specified, the request body will be populated with a JSON object containing the context data. For example, a newly created site might appear as follows:
|
||||
|
||||
```no-highlight
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user