Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Actually, I could see doing it with an intermediary service as much, much less messy. The other solutions, which are "correct" if you're doing it with Apex, are inherently messy, because Salesforce has designed it very poorly. With an intermediary service you could send out a single clean JSON string and have an intermediate server do the callouts in a clean way. I'm strongly considering this option now, as I have been fighting with some messy triggers + callouts + scheduled apex. Commented Dec 3, 2012 at 21:30
  • The messy part can come in to play when you have to handle responses and such. It's not so much messy as it can be a bit more work, but it should get it done. Commented Dec 5, 2012 at 21:16