Download mechanical Turk file

I am trying to check file uploads on Mechanical Turk.

I call the GetFileUploadURL service, and my query string looks something like this:

Operation=GetFileUploadURL&AssignmentId=XXX&Signature=XXX&Version=2008-08-02&AWSAccessKeyId=XXX&Timestamp=2009-07-11T18%3A33%3A03-04%3A00&QuestionIdentifier=smiley&HITId=XXX&Service=AWSMechanicalTurkRequester

My HIT HTML looks like this

<ul>
    <li>Draw me a smily face.</li>
    <li>Save it as a PNG</li>
    <li>Image must be 64x64</li>
    <li>Be Creative</li>
</ul>
<p>&nbsp;</p>
<p><input type="file" name="smiley" value="" /></p>

I get an error "The value \"null\" is not valid for the parameter QuestionIdentifier", although I pass QuestionIdentifierin.

I assume that my HIT HTML is not the most perfect, and that I am missing something that would make it a lot easier. Can I write something different <input type="file" name="smiley" value="" />or improve it in some way to make this web service call easier? I'm really not sure I should have passed my call GetFileUploadURLfor QuestionIdentifier, and I suggested that it "smiley"would work.

edit: I know that it should be smileybasic for the results that I see when called GetAssignmentsForHIT.

? ? ?

+3
1

API:

GetFileUploadURL URL-. URL , , FileUploadAnswer HIT. FileUploadAnswer, . QuestionForm.

, , . , , . , . QuestionForm FileUploadAnswer, , .

+2

Source: https://habr.com/ru/post/1712394/


All Articles