Which direction are you curling in? From PHP to Rails, or vice-versa?
Walter
On Sep 27, 2010, at 8:30 AM, paulo wrote:
Hi all,
This is almost certainly a noob question, but I've hit a wall
developing my rails3 app.
I am looking to integrate various sections with a legacy system based
on PHP. I had envisaged this being fairly straight forward, using curl
to send POST requests for example. The issue / dilema I have is that
all requests are met with an InvalidAuthenticityToken error. I don't
want to lose this security feature, but am not sure how to proceed in
terms of providing a secure API for the integration.
Is it possible to send a set token along with all requests, or am I
missing something here?
Any pointers would be much appreciated!
Cheers,
Paul Taylor
--
You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-
[email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.