Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
transformations:webrequest [2021/07/02 16:46] – craigt | transformations:webrequest [2023/03/13 22:21] – Add User-Agent HTTP header reference craigt |
---|
=====Action settings===== | =====Action settings===== |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|Connector<sup>*</sup>|Select or create a Web Location connector.| | |Connector/Base URL<sup>*</sup>|Select or create a Web Location connector, or enter the base URL for the request. Select between "Connector" and\\ "Base URL" using the selector to the //left// of the input field.| |
|Request method<sup>*</sup>|Select the request method. Options: //GET//, //HEAD//, //POST//, //PUT//, //DELETE//, //CONNECT//, //OPTIONS//, //TRACE//, and //PATCH//.| | |Request method|Select the request method. Options: //GET//, //HEAD//, //POST//, //PUT//, //DELETE//, //CONNECT//, //OPTIONS//, //TRACE//,\\ and //PATCH//.| |
|Path<sup>*</sup>|See "Path setting", below.| | |Path<sup>*</sup>|See "Path setting", below.| |
|Add URL parameters<sup>*</sup>|Check to insert parameters into the URL. See "URL parameters", below, for details.| | |Add URL parameters<sup>*</sup>|Check to insert parameters into the URL. See "URL parameters", below, for details.| |
\\ | \\ |
__**Form**__\\ | __**Form**__\\ |
This body type is equivalent to submitting a web-form. Name-value pairs are encoded as if it was a web-form. | This body type is equivalent to submitting a web form. Name-value pairs are encoded as if it was a web-form. |
| |
Header Content-Type is automatically set to "application/x-www-form-urlencoded". | Header Content-Type is automatically set to "application/x-www-form-urlencoded". |
When developing workflows with web requests it may be necessary to re-run parts of workflows. In this case, it is recommended to always start from the Web Request actions that do authentication so that the session cookies can be set under the hood. | When developing workflows with web requests it may be necessary to re-run parts of workflows. In this case, it is recommended to always start from the Web Request actions that do authentication so that the session cookies can be set under the hood. |
| |
| Web Request automatically sends the //User-Agent HTTP header// ("User-Agent: EasyMorph 5.4") unless disabled in the [[connectors:weblocation|Web Location connector]]. |
| |
| \\ |
| =====Community examples===== |
| * [[https://community.easymorph.com/t//1205/3|Verifying address data with SmartyStreets API]] ([[https://community.easymorph.com/uploads/short-url/1xoQhm3AHmuMpKY7WkI9BL5jcLw.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //Table 1//; Action position: //1//) |
| * [[https://community.easymorph.com/t//1269/4|Example: use of Web Request and Iterate Web Request with the Community forum API]] ([[https://community.easymorph.com/uploads/short-url/kJFnuALFUX72j3pqdxLHkuc0LVa.morph|Project]]; Module: //Main//; Group: //Tab 1//;\\ Table: //Recently active users//; Action position: //1//) |
| * [[https://community.easymorph.com/t//1800/4|Download multiple files from HTTPS and copy to folder, preserving file names]] ([[https://community.easymorph.com/uploads/short-url/pQyGPi01bpxaWBHR6LdGlGMyRbH.morph|Project]]; Module: //Main//; Group: //Tab 1//; Table: //Table 1//; Action position: //1//) |
| * [[https://community.easymorph.com/t//2637/1|How to send notifications to Microsoft Teams]] ([[https://community.easymorph.com/uploads/short-url/ptOHJUPlJb2GsDIfWJvzvG53OhR.morph|Project]]; Module: //Main//; Group: //Group 1//; Table: //Table 1//; Action position: //1//) |
| |
\\ | \\ |