urlResponse

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
the urlResponse
Summary

Returns the HTTP server response for a post, get, delete or put url operation.

Introduced3.5
OSmac, windows, linux, ios, android, web
Platformsdesktop, server, mobile
Example
get the urlResponse
put the urlResponse into tURLContent
Values
NameTypeDescription
Value

The urlResponse property returns a string.

RelatedCommand: post, delete URL, put, get, delete
Function: result
Keyword: URL
Description

Use the urlResponse property to check the data returned by the server after an HTTP request.

All HTTP requests cause data to be sent to the server and data to be returned from the server. The urlResponse property allows you to access any data returned by the HTTP server in the last URL operation, the urlResponse property returns empty if the operation failed.

The HTTP requests which cause data to be returned by the urlResponse property are get, put, delete and post.