prepare.server.URL {Rexperigen}R Documentation

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

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


[Package Rexperigen version 0.2.1 Index]