Learn R Programming

Rexperigen (version 0.2.1)

prepare.server.URL: Server URL preparation.

Description

Prepares the server URL by checking for the presence of a protocol prefix, and prefixing http:// if there is none. Also, returns the URL with a trailing / if that was not present either.

Usage

prepare.server.URL(server)

Arguments

server
A server name.

Value

A clean URL with protocol prefix and trailing slash.

See Also

Other development: API.request, checkAuthentication, create.API.request.URL, server.version

Examples

Run this code
prepare.server.URL("db.phonologist.org")
prepare.server.URL("https://myserver.com/")

Run the code above in your browser using DataLab