I see this line of code:
RestClient.send(verb, url, parameters)
Basically there's two rails application that communicate with each
other. RestClient is a rails gem. Here we send the get http verb and a
url string comprising of the other application base url and append a
query string to it consisting of the new user email that is being
created. So if the arguments are these:
What exactly would RestClient get back as the response? I don't mean
this specific case, but I mean what is supposed to be sent back to
client in general. Or even if it is the ruby send
method, what exactly is RestClient doing with these two parameters?
I looked in documentation:
and it didn't give a clear answer. The documentation shows you how to
use it but it doesn't explain why you would want to do something about.
Before I understand how to use it, I think I need to know why. It
appears to have nothing to do with cookies and that's typically how you
can maintain a browser state from one app to the next.
Thanks for response.