Timeline for How can I make a curl type http request after a node submission?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 20, 2013 at 9:40 | comment | added | Jon Girard | @tenken Thanks to both. I did actually end up using a bit of both answers, and I did take your suggestion and use hook_cron to trigger it on cron | |
Nov 20, 2013 at 9:38 | vote | accept | Jon Girard | ||
Nov 20, 2013 at 5:10 | comment | added | Les Lim | Easy there. One step at a time. | |
Nov 20, 2013 at 4:49 | comment | added | tenken |
And eventually you'll realize this blocks for the response and realize doing this on node insert is a bad idea and should be done in its own process and run cron every minute with a task to do any queue'd Curl requests ... because waiting for timeout of this to complete per insert is silly for an enduser.
|
|
Nov 20, 2013 at 4:08 | history | answered | Les Lim | CC BY-SA 3.0 |