Flaskでリダイレクトしたよとかいう警告が出る

こんな警告が出て解消するのに少しハマった。

'A request was sent to this URL (http://localhost/my/contributors) but a redirect was issued automatically by the routing system to "http://localhost:5000/my/contributors/". Make sure to directly send your POST-requ
est to this URL since we can't make browsers or HTTP clients redirect with form data reliably or without user interaction.
Note: this exception is only raised in debug mode'

たぶん、flask側でリダイレクトしなくて済むようにちゃんとURLを指定しろよって言ってるんだと思う。

ルーティングはこうなっているのに

@app.route('/my/contributors/', methods=['POST'])

URLはこうなっていた。

$http({
	method : 'post',
	url    : '/my/contributors', // 後ろにスラがない!
	data   : {id: $scope.contributor.id}
})

スラッシュを加えることで解消されました。