Group Group Group Group Group Group Group Group Group

Chapter 2 Returning JSON error Issue

I was trying to run the ‘Returning JSON’ exercise in Chapter 2, and in my code and GitHub materials I get the same response to the POST call.

{
  "error": true,
  "reason": "Value of type 'CodingKeys' required for key ''."
}

It is sort of frustrating getting an error so early in the book, because I was hoping this book to be an introduction to the whole server-side world, which is not my strong point.

Any ideas what is going on?

Thanks in advance.

Stan

I had similar issue - check if enctype is set correctly in POST.