I want to invite a new user programmatically. The server I am using the call is running java (google app engine) so I can’t install the ruby API.
I have tried repeatedly to send an HTTP POST to myforum.example.com/t/1/invite.json with the following parameters:
api_key=MYKEY (it’s the key for “all users”)
and I all get back is a 403 with ‘[BAD CSRF]’ as the message.
Can someone please post exactly what I need to send the REST api to get a valid response? I thought the whole point of using the api key plus a username was to avoid the csrf check?