I get a status code 200 which I think is a good thing. I have not figured out how to use $responseiRacing object to make a call to the API endpoints. For instance, now that (I think) I have authenticated how do I use the $responseiRacing object to make a get call to this endpoint? https://members-ng.iracing.com/data/constants/divisions
Any gentle nudging in the right direction would be much appreciated.
@oakydev , the docs are pretty much non-existent. They list all the available endpoints but not much else. I have this working with powershell, trying to port the functionality over to PHP
PowerShell code for reference
Once I can get the cookie squared away for auth, make the first request to get the AWS cache link for the endpoint, finally query the AWS link for the API results.
Looks like this in PowerShell