The setServerProfile Web API Method
Sets the server profile after the server was bootsraped: Development or Production. Sets the set directives by the demand mode.
Version: 1.10
Required Permissions: Read-Only
HTTP method: POST
Supported by Editions: All
Request Parameters:
Parameter |
Type |
Required |
Description |
production |
Boolean |
No |
Production flag. If true - sets production mode, if false - development. By default TRUE. |
Expected Response Code: 200 OK.
Response Format: Application .zip file containing the retrieved log file.
Possible Action Specific Error Codes: This method has no specific error codes.
Example
|
Request (headers removed for the purpose of clarity)
Response (not all headers are shown)
|