There was a debate with one of the platform engineers (as a mobile dev), about the codes being returned.
The scenario is: when trying to create a resource the server is returning a 201 with the resource_id in the header. I would have expected a 201 response with a JSON body with the resource_id. In my opinion, this would be easier for the mobile clients to parse.
Am I wrong in thinking this way? Should I be really parsing headers?