@twostraws Day 51 of #HackingWithSwiftUI got a bit confusing because reqres.in seems to have added a requirement for a faux api-key to send back data.
I had to add the line:
request.setValue("reqres-free-v1", forHTTPHeaderField: "x-api-key")
directly under the Content-Type header to get things to run as expected.
Before that I was only getting back the rather oblique error:
Checkout failed: The data couldn’t be read because it is missing.
Very satisfying when I got it working tho!



