Closed MarkOates closed 7 years ago
Due to the tutorial, it was assumed the payload would be provided in params[:payload]. However, it's actually in the body, which can be pulled from request.raw_post.
params[:payload]
request.raw_post
Related: https://github.com/allegroplanet/allegro-planet/pull/55, https://github.com/allegroplanet/allegro-planet/pull/56
Due to the tutorial, it was assumed the payload would be provided in
params[:payload]
. However, it's actually in the body, which can be pulled fromrequest.raw_post
.Related: https://github.com/allegroplanet/allegro-planet/pull/55, https://github.com/allegroplanet/allegro-planet/pull/56