Posts by jaykul@fosstodon.org
(DIR) Post #AVdHpSIFlhRIKKPNuS by jaykul@fosstodon.org
2023-05-14T03:11:11Z
0 likes, 0 repeats
@rolle yes, but open source #UIDesign people are all busy writing more of those CSS frameworks...
(DIR) Post #AchL10lN3d4fO2mrke by jaykul@fosstodon.org
2023-12-09T06:35:24Z
0 likes, 0 repeats
@rmbolger @emaksovalec Yes! If you use Invoke-RestMethod -SkipHttpError then you get the json (as an object) back.In current versions, the error message has the full content in it, so you can see it directly in the (error) output when you just call it without any extra parameters.irm -Method Post http://localhost:8000To capture it, just use the bash-like || to handle the error case and get the .Messageirm -Method Post http://localhost:8000/api/example -ev Fail || $Fail.Message