![]()
URL is a class used for sending and receiving data with URLs. To fetch data from an http:// of ftp:// URL, use get. To put data to a web server via the HTTP PUT protocol, use put.
Fetches a URL using the HTTP GET protocol. Returns any data sent from the server, or an empty string if there was no data or an error occurred.
Puts data to a URL using the HTTP PUT protocol. Returns any data sent from the server, or an empty string if there was no data or an error occurred.