Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

accept data from external site ( : how to add to framework?

Go to End

2 Posts   957 Views


Community Member, 12 Posts

6 November 2010 at 5:21am

OK, this will be the first time I have dealt with this type of problem with the sapphire framework.
What I need to do is accept data via a custom url, that I can then use in the system.
here is a reference page for the service I wish to integrate:
I believe this should be one of the easiest examples of doing this and a great place for me to start.
So how do I define a URL that is publicly open and secure? that will accept this data?

appreciate any help on this...

PS: this could make for a good tutorial ;) ... or anyone know of one already that deals with this?

Ryan M.

Community Member, 309 Posts

6 November 2010 at 3:43pm

Well, why not use urlParams to handle that?

Then you could have data returned via a url like:

All you'd have to build is a function called receive() in your Page controller that handles whatever's posted back to your site.