Closed SimonDarksideJ closed 6 months ago
wouldn't just adding the name of the parameter fix this?
var jsonData = "{\"data\":\"content\"}";
var response = await Rest.PostAsync("www.your.api/endpoint", jsonData, serverSentEventCallback: eventData =>
{
Debug.Log(eventData);
});
Overview
From the example given in the ReadMe, this highlights a signature conflict for the PostAsync call between:
And
Likely due to the defaults applied to the second method.
To Reproduce
Steps to reproduce the behavior:
Create a new script
Copy the Rest example from the readme
Observe conflict error
Expected behavior
Examples should work out of the box, as should all method overloads.