Server Side Swift with Vapor - Part 5: Challenge: | Ray Wenderlich

Challenge time! You will be tasked with creating your own routes, using all the skills learned in the previous videos.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4493-server-side-swift-with-vapor/lessons/5

Hi! I have a question about post method connection!


As you see, I keep getting this error saying "Value of type 'EventLoopfuturehas no member ‘await’ ".
I successfully followed with get method connection with your tutorial.
But I can’t compile with post method connection.
Thank you!

@jeejee Hi! Unfortunately you’ve hit a bad time between the latest RC and the videos being slightly out of date! There is a gist here which contains all of the changes between the videos and what you need to write. Once Vapor 3 is fully released I’ll update the videos!