HTTP Posts are a way of passing data from one server to another. In order to make our Pocket Developer plugins work, you will need to send data to our server, so that we can tell Infusionsoft what you want done with it.
In Infusionsoft, setting up an HTTP Post is fairly simple. Just go to Campaign Builder, drag out a new sequence or open an existing sequence, and drag the Send HTTP Post snippet from the Process section in the left sidebar.
https://screencast.com/t/O0xUxeQlMh
To configure your HTTP Post, you will need to add a POST URL and add some name/value pairs, also known as parameters.
The POST URL will be the URL of the server where you want to send the data. It may specify a particular directory or script where the code that will catch the data you are sending and interpret it. Any service that asks you to send data via HTTP Post will provide you with the URL where they want you to send the data. For instance, to send data to Pocket Developer’s AnyText plugin, you will use this URL:
http://pocketdeveloper.net/AnyText/
When you create the HTTP Post in Infusionsoft, the first parameter will be filled in by default, with “contactId” as the name, and the merge field for contact Id as the value of the field. You can have as many name/value pairs as you want. If you hover to the right of a parameter, plus and minus buttons will appear; use the plus button to add a parameter, and minus to delete them. For example, if you also want to send the contact’s first name, you might add a parameter with the name “fname” and the value “~Contact.FirstName~”.
The service you are sending the data to will typically provide the names you should use. For instance, to use PDev plugins, in addition to contact Id you must provide your PDev token, so that we know which Infusionsoft application is making the request. This is done by adding a parameter with the name “App” and the value of your PDev token to every HTTP Post to PDev. Our PDev documentation will tell you what other parameters (name/value pairs) to use with each plugin, as well as telling you which ones are required (must be present for the plugin to function) or optional (can be added for convenience and to unlock special features).