Similar question asked here
http://forum.serverless.com/t/endpoint-for-file-upload-api-gateway-lambda-python/908
How and what’s to be configured in API gateway to accept file as an input in AJAX call. Also How to read the contents of the file in Python Lambda?