Hi everyone! I wish to ignore the authenticity token with skip_before_action verify_authenticity_token, only: [:name_method] but it´s not working
Could you help me!!! Thanks
Hi everyone! I wish to ignore the authenticity token with skip_before_action verify_authenticity_token, only: [:name_method] but it´s not working
Could you help me!!! Thanks
skip_before_action :verify_authenticity_token
sounds right, so more info would be needed to understand what’s not working, or you could debug the situation with breakpoints and the like.
I will try to explain myself:
I have a controller that calls a get to bring me information from the database,
What is the result? What do the server logs show when calling the endpoint?
Hi ! thanks for yoy support, I made it
it was just this instruction skip_before_action :authenticate_request, only: [:methods]