 | This guide will help you learn how to send HTTP queries and receive responses with Apatar. Both POST and GET methods are implemented in the connector. |
Configuration
To start sending HTTP queries,
- Drag-and-drop the HTTP connector to Apatar's work panel. If any parameters are used in HTTP query, configure the source table containing these parameters names (as field headers) and parameter values. Provide the mapping in this case.
- Double-click on the connector. The property window will pop up.
- Fill in the configuration details (choose POST or GET method and enter URL to exchange data with). Please note that some servers work with either POST or GET only.
- Click Next.
- The list of parameters appears. You can add more parameters, if necessary.
The Response field is the value received from the server you specify in the URL field. In many cases, it is returned as HTML code. So, adjust the field's size according to that.
- Click Finish.
Finally, you can preview the output data. To do so, right-click on the connector and choose "Preview Results". If all of the previous actions were performed correctly, you will see the entries.
Related forum thread
Example:
http://www.apatarforge.org/forums/viewtopic.php?t=408