GetHttpCode (Opus Funktion)
Inhaltsverzeichnis
Beschreibung¶
Returns the standard HTTP status text string for a given numeric HTTP status code.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
Code | numeric HTTP status code |
Rückgabewert string¶
string — the standard HTTP status text for the given numeric code (e.g. "OK" for 200)
Beispiel¶
WebRequestAnswer = GetWebResponsePacket([""],["Server","Content-Type","Content-Length"],["SMT School Professional","text/JSON; charset=UTF-8",GetSize(WebRequestAnswer)],"HTTP/1.1",400,GetHttpCode(400),WebRequestAnswer); |
|---|