Re: [rss-cloud] Re: Clarification on notifyProcedure
- sure, can stick the param string in a variable and use variable in the
as long as it's a param string being passed to curl, it should work fine.
On Tue, Aug 11, 2009 at 2:45 PM, Matt Terenzio<mterenzio@...> wrote:
> I use something like this:
> $post_url = "
> $path = "/path/to/my/callback";
> $url = "http://urltosubscribeto.com";
> $postops =
> $ch = curl_init($post_url);
> $port = 5337;//in this case
> curl_setopt ($ch, CURLOPT_PORT, $port);
> curl_setopt ($ch, CURLOPT_POST, 1);
> curl_setopt ($ch, CURLOPT_POSTFIELDS, $postops);
> curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
> $response = curl_exec ($ch);
> curl_close ($ch);
- Now we're cookin... I setup an AWS instance to get rid of my firewall/gateway issues and successfully subscribed to the test feed.
Thanks for the help and time guys.
--- In email@example.com, "jeremy.felt" <jeremy.felt@...> wrote:
> Yes, the code started working as soon as I started passing the variables as if they were part of the URL. I'll keep looking into cURL to see what's going on when I try to use the array. That makes for cleaner code in the end.
> Now I just discovered a new gateway that's screwing up the return IP. Time to setup a server with a real IP.
> --- In firstname.lastname@example.org, "Dave Winer" <dave.winer@> wrote:
> > Jeremy, I just changed the cloud server so that it will accept the parameters on the URL, as if it were a GET in addition to in the request body. So my guess is that your code now works. Let me know if that's true.