[Ruby-aws-users] Turk notifications

Stever steve at tripperjones.com
Tue Dec 2 02:48:23 EST 2008


I set up mechanical turk for notifications when a HIT gets completed. When
it happens, the amazon server contacts my webserver with a GET request.

This is probably a basic question, but what aws method do I use to process
the incoming GET request? It looks like this (I unencoded it for your
reading convenience):
Event.1.HITId => 12345678901234567890
Event.1.HITTypeId => 09876543210987654321
Event.1.AssignmentId => 1234567890123456789012345678901234567890
Event.1.EventType => AssignmentSubmitted
Event.1.EventTime => 2008-11-30T01:33:03Z
Event.2.HITId => 12345678901234567890
Event.2.HITTypeId => 09876543210987654321
Event.2.AssignmentId => 1234567890123456789012345678900987654321
Event.2.EventType => AssignmentSubmitted
Event.2.EventTime => 2008-11-30T01:33:03Z
Version => 2006-05-05
Signature => xxxxxxxxxxxxxxx
Timestamp => 2008-11-30T01:33:07Z
action => receive_message
method => Notify
controller => ask

SimplifyAnswer doesn't seem to work. Anyone know the answer?




More information about the Ruby-aws-users mailing list