BAD BUGS in Shortcuts Get Contents of URL for POST with JSON or FILE
HOPING someone in Apple Shortcuts Development reads this and can fix the problems!
There are AT LEAST TWO significant bugs in Shortcut's Get Contents of URL when coding a POST operation:
One: When specifying JSON as the Request Body: Adding/Inserting a nested parameter frequently causes the Shortcuts App (v6.0) to CRASH on macOS Ventura (v13.2).
Examples:
Given:
{
"fields": {
"DateTime": "2023-01-28T16:01:59.000Z",
"ID": "A1234",
"Type": "B2345",
"Quantity": 1,
"Container": "Box",
"Comment": "Nested parameters cause macOS Shortcuts to crash"
}
}
[For some reason, a prior version of this post was blocked because two screenshots were inserted.
The apparently offending screenshots have been removed.]
Here is a Dropbox link to the first of two screenshots illustrating nested JSON BODY parameters: **
Two: Attempting to finesse Get Contents of URL POST with hardcoded JSON as TEXT passed as a FILE...FAILS! (But the same JSON payload works with Postman!)
Here is a Dropbox link to the second of two screenshots illustrating POST with FILE BODY parameters: **
Dear Apple Engineers...please evaluate these problems and remedy them.
Many, many thanks!
Plane Wryter
[Edited by Moderator]
iMac 27″ 5K, macOS 13.2