إضافة مستخدم إلى المجموعة من خلال API تتلقى خطأ "BAD CSRF"

That’s pretty much it. In spite of what the docs seem to imply, you can’t send JSON data, but only form-encoded data. This thread tipped me off & then I checked what was happening in the browser. I’m really trying to do this from PHP, but when that didn’t work, I fell back to curl.

For me the take-home message is that one should start with reverse engineering the API rather than looking at the docs.

إعجاب واحد (1)