Whatever message this page gives is out now! Go check it out!
<head> <title>Use Get Method</title> </head> <body> <cfhttp method="Get" url="http://www.adobe.com" resolveurl="Yes"> <cfoutput> #cfhttp.FileContent# <br> </cfoutput> </body> </html> |
Code | Description | |
| Get the page specified in the URL and make the links absolute instead of relative so that they appear properly. | |
| Display the page, which is stored in the variable cfhttp.fileContent, in the browser. |
<head> <title>Use Get Method</title> </head> <body> <cfhttp method = "Get" url="http://www.adobe.com/software" path="c:\temp" file="adobe_software.htm"> </body> </html> |
Code | Description | |
| Get the page specified in the URL and save it in the file specified by the path and file attributes.When you use the path and file attributes, ColdFusion ignores any resolveurl attribute. As a result, frames and other included files cannot appear when you view the saved page. |
method="Get" url="http://www.adobe.com/adobe/accessibility/images/spotlight.jpg" path="c:\temp" file="My_SavedBinary.jpg"> <cfoutput> #cfhttp.MimeType# </cfoutput> |
Code | Description | |
| Get a binary file and save it in the path and file specified. | |
| Display the MIME type of the file. |