Wednesday, October 9, 2019
Tip of the Day: HTTP Communications Using the Plugin Power Pack
Product.......: R:BASE Plugin Power Pack X.5 (Version 10.5)
Build.........: 10.5.1.30926 or higher
Sections......: HTTP Plugin
Keywords......: GET, POST, HTTP, Online Resources, Plugin
Did you know you can now perform both GET and POST HyperText Transfer Protocol
communications to servers using in the Plugin Power Pack?
The R:BASE Plugin Power Pack is a collection of R:BASE Plugins used to alter,
enhance, or extend the operation of R:BASE.
https://www.rbase.com/products/pluginpowerpack/
The HTTP plugin within the Plugin Power Pack is the module that supports POST
and GET HTTP communications to submit data, acquire files, return sizes for
available files, and more.
GET options include file and size requests from a specified online resources,
with the ability to save the resource to a local file.
POST options include form fields and files to be included for data submission.
Additional options include the ability to turn on basic HTTP authentication and
include an arbitrary header into the HTTP request. HTTP and HTTPS is supported.
Within R:BASE reports, the HTTP plugin supports the ability to add an
image from
a URL that will be downloaded when the report is generated. The ability to
reference URLs in reports is supported using Variable Image and DB
Image controls.
Examples:
-- Example 01:
-- Saves an online Web site page locally
PLUGIN HTTP vResult +
|GET https://news.google.com/ +
|LOCAL_FILE LocalNewsFile.html
-- Example 02:
-- Posts data to three form fields; FirstName, LastName, and Photo.
-- The response will be saved in the "PostOut.Dat" file.
-- FirstName and LastName are simple fields. Photo is a file upload.
PLUGIN HTTP vResult+
|POST https://postman-site.com/post/ +
|LOCAL_FILE PostOut.Dat +
|FORM 'FirstName:Edmund' +
|FORM 'LastName:Fitzgerald' +
|FORM_FILE 'Photo:image/png:C:\Images\EF_Photo.png'
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/201910091023.x99ANXSW001914%40atl4mhob01.registeredsite.com.