CallHttpPut Procedure
Performs a HTTP PUT call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Overloads
Name | Description |
---|---|
CallHttpPut(Text): Boolean | Performs a HTTP PUT call. |
CallHttpPut(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob"): Boolean | Performs a HTTP PUT call. |
CallHttpPut(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary): Boolean | Performs a HTTP PUT call. |
CallHttpPut(Text) Procedure
Performs a HTTP PUT call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpPut(Url: Text) : Boolean
Parameters
Url
Text
The target URL.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpPut(Text; Codeunit "QWETB Temp Blob"; Codeunit "QWETB Temp Blob") Procedure
Performs a HTTP PUT call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Signature
CallHttpPut(Url: Text; TempBlobRequest: Codeunit "QWETB Temp Blob"; var TempBlobResponse: Codeunit "QWETB Temp Blob") : Boolean
Parameters
Url
Text
The target URL.
TempBlobRequest
Codeunit "QWETB Temp Blob"
The data to be sent as body content as a blob
var TempBlobResponse
Codeunit "QWETB Temp Blob"
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
CallHttpPut(Text; Record "QWETB tTempBlob" temporary; Record "QWETB tTempBlob" temporary) Procedure
Performs a HTTP PUT call.
Use the function GetLastIsSuccessStatusCode()
to know if server returned a response code of type success.
Deprecated
This procedure is deprecated and should not be used.
Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
Deprecated since: 27.0
Signature
[Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
CallHttpPut(Url: Text; var TempBlobRequest: Record "QWETB tTempBlob" temporary; var TempBlobResponse: Record "QWETB tTempBlob" temporary) Result: Boolean
Parameters
Url
Text
The target URL.
var TempBlobRequest
Record "QWETB tTempBlob" temporary
The data to be sent as body content as a blob
var TempBlobResponse
Record "QWETB tTempBlob" temporary
The response data as a blob.
Returns
Boolean
true
if the call succeeds and a response is received. If the call fails an error is thrown unless SetSilentError()
is set, if SetSilentError()
is set a fail returns false
.
This documentation is generated from Smart Toolbox v27.0