Discussions
Post "LicenseText" from Powershell
over 1 year ago by Mateo
I tried
$params = @{"LicenseText"="Serial: XXX\nLicensed-To: XX........, "id"="license-server"};
Invoke-WebRequest -Uri http://localhost:5341/api/licenses/ -Method POST -Body ($params|ConvertTo-Json) -ContentType "application/json"
And get 405 Method Not Allowed
How do I build a request so that the server accepts the text of my license?