Swift no content errors are the bane of my existence.
Here’s a dumb thing that worked for me: adding `Accept: application/json` to the headers. Some APIs get weird if you don’t explicitly ask for JSON.
Also, if you’re using Alamofire, `validate()` can help catch these cases early.
Here’s a dumb thing that worked for me: adding `Accept: application/json` to the headers. Some APIs get weird if you don’t explicitly ask for JSON.
Also, if you’re using Alamofire, `validate()` can help catch these cases early.
