Server Side Swift with Vapor · Accepting Data |

This is a companion discussion topic for the original entry at

When I try the“info”) route in Postman I get the following response:
“error”: true,
“reason”: “Cannot use sync decode on a streaming body.”

Xcode will suggest to use decode instead of syncDecode but when I do that Xcode throws an error message: “Value of type ‘EventLoopFuture’ has no member ‘name’

Xcode version: 10.2.1

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

1 Like

@makaha how are you sending the data in Postman? It usually means that you haven’t sent all the data, but that’s unusual with a client request.

With decode you’ll need to resolve the returned future