SmartPasteAIRequestOptions
Interface
Defines configuration options for the HTTP request sent to the AI service.
Definition
Package:@progress/kendo-angular-buttons
Properties
body?
any
Sets the body of the request.
headers?
HttpHeaders
Sets the HTTP headers to include with the request.
method?
string
Sets the HTTP method for the request.
Default:
'POST'
responseType?
"json" | "arraybuffer" | "blob" | "text"
Sets the expected response type from the AI service.
Default:
'json'
role?
string
Sets the role of the user making the request.
Default:
'user'
withCredentials?
boolean
Includes credentials such as cookies and authorization headers with the request.
Default:
false