Build Rails Web Services By Controller
Today I wanna build a rails web services by controller of rails, but when I’m doing, it occur a error ActionController:InvalidAuthenticityToken , the reason is rails exist CSRF protect mechanism that you have to give form post token, or you will get error, the…