Take a look at this for usage examples:
You can using expressions, scripts, Input Mappings, and Local Variables to pass data in connector fields.
Can also take a look at something like Replacing Http-Connector with Jsoup usage to provide a more code based fluent api apporach. You dont need to use jsoup; it is just a example of the usage.