I'm implementing an API mostly so I can do bulk upload of records to my application from CSVs using PowerShell. I've got the POST side of things working just fine, but I'm stumped with updating existing records.
My understanding is that Powershell sends JSON as 'raw' by default, and this seems to have been the case with my add methods which worked fine.
When I attempt to Put/patch via Powershell I get a 422 error, and doing dd(request()) to troubleshoot tells me that my json is null. Why on earth would this be happening? Sending exactly the same request via Postman with the JSON format set to raw works perfectly.