Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

REST service timeout policy

Nick Verhaert
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a problem. I am developing some rest services and I want to control the amount of votes someone can give on a poll within a given time frame.

How it should work: A vote is sent from a given ip. If this ip has allready voted within a time frame of 60 seconds, the service should ignore the request and send a false back to view.

It seems logical that this method doesn't work but I have no idea how to set this up. Can you please help me with this? Thank you in advance!

This is the service

This is the timeout policy class

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic