Thursday, December 31, 2020
Tip of the Day: Plugin Power Pack - Encoding HTTP Plugin Parameters
Product.......: R:BASE Plugin Power Pack X.5 (Version 10.5)
Build.........: 10.5.3.11119 or higher
Sections......: Plugins
Keywords......: HTTP, Encode, URL, Parameter, HTML, Characters
Did you know that the HTTP Plugin in the R:BASE Plugin Power Pack
now includes new "encode" parameters, making the characters in
passed vales unambiguous and universally accepted by Web browsers
and servers?
The HTTP Plugin is used to perform POST and GET Hypertext Transfer
Protocol communication to a server, to submit data, acquire files,
return sizes for available files, and more.
The R:BASE Plugin Power Pack is a collection of Plugins used to
alter, enhance, or extend the operation of R:BASE. There are thirty-
four (34) Plugins within the Plugin Power Pack.
https://www.rbase.com/products/pluginpowerpack/
The Plugin Power Pack has been updated with the below parameters
to help in encoding of values before composing the URL:
. URL_PARAM_ENCODE - encode a value to make it valid as a URL
parameter value
. HTML_ENCODE - encode a text to make it a valid HTML text
(convert characters that can cause conflicts with HTML tags)
When using the parameters, the encoded value is returned in the
result variable.
Example:
-- Encodes the values of vUserName and vPassword to be included
-- with the HTTP (URL) command. The response will be saved in
-- the post.log file
PLUGIN HTTP vUserName|URL_PARAM_ENCODE &vUserName
PLUGIN HTTP vPassword|URL_PARAM_ENCODE &vPassword
SET VAR vURL TEXT = +
('HTTP vResult|GET
https://msgpf.website.com/webapi/msgplatform/cont.home?username='+.vUserName+'&password='+.vPassword+'&messagetype=1'|LOCAL_FILE
post.log')
PLUGIN &vURL
Very Best R:egards,
Razzak.
https://www.rbase.com
http://www.facebook.com/rbase/
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/0MY95y-1kYwSw3DM0-00Uqlo%40mrelay.perfora.net.