POST API using swift 4 AWS APIGateway and node lambda function

I posted this question here with no response:


https://stackoverflow.com/questions/48724389/post-api-call-using-apigateway-returns-internal-server-error-in-swift-4-but-w


I have tried just about everything but cannot seem to get a POST, PUT, or DELETE call to work with swift 4 using APIGateway and my nodejs lambda function. The APIs work everywhere else, but do not seem to work with swift 4. The GET call works, so I don't think it has anything to do with anything in the info.plist file, but I could be wrong.

Thanks!

You can find my standard advice for situations like this — where you’re getting some unexpected error back from the server — in my Debugging HTTP Server-Side Errors post.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
POST API using swift 4 AWS APIGateway and node lambda function
 
 
Q