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?
Asked
Active
Viewed 61 times
1

Andy Simon
- 43
- 5
1 Answers
0
Did you test this through a curl? Please check content type

Andy
- 863
- 1
- 8
- 20
-
1you saved the day! Thanks !!!! it was related with content type. I pointed out the JSON, was necessary text – Andy Simon Feb 07 '18 at 12:55