Documentation
T2A API Documentation
URL Encoding a GET Request
The JSON and XML API is normally invoked as an HTTP GET request, with parameters included in the query string.
When making a GET request, remember to URL encode the value part of each parameter=value
pair.
Here are some common code examples:-
Language | Example |
---|---|
"Classic" ASP | "&name=" & Server.urlencode(input_name) |
PHP | "&name=" . urlencode($input_name) |
JavaScript | "&name=" + encodeURI(input_name) |
Next: SOAP API
Documentation on how to URL encode a GET request when using the T2A REST API.