https://docs.joinmastodon.org/methods/statuses/#create How tf u post "array" in form data? I tried -d "media_ids=$media_id" and -d "media_ids=[$media_id]", neither of which are working
Conversation
Notices
-
lamp (lamp@berserker.town)'s status on Thursday, 01-Jun-2023 10:15:16 JST lamp - Machismo repeated this.
-
lamp (lamp@berserker.town)'s status on Thursday, 01-Jun-2023 10:15:15 JST lamp idk i use json instead it work
In conversation permalink -
Machismo (zerglingman@freespeechextremist.com)'s status on Thursday, 01-Jun-2023 10:16:15 JST Machismo @lamp -F array[]=arg1 -F array[]=arg2, IIRC. In conversation permalink -
Machismo (zerglingman@freespeechextremist.com)'s status on Thursday, 01-Jun-2023 10:17:03 JST Machismo @lamp (At least, that's the convention with query params. I can't recall if it's the same with form fields.) In conversation permalink