ruby-on-railsamazon-web-servicesamazon-snsgrape-api

Why do not working grape api for aws sns confirmation?


I am use Grape for create API and use AWS SNS, at the moment I want send request for confirmation but my API code is not executed. The request is sent (I'm looking at the logs), but the code does not work. However it's work via POSTMAN. Found an article where it is implemented through the controller, I did the same and it worked for me, could you tell me please, why is not the code executed for API?


Solution

  • Did you test this through a curl? Please check content type