I need to call a (HTTP) REST API as as POST call - basically, it allows me to post a message to a forum/community.
Since, there is currently no way of authenticating over the API, I need to depend on browser cookies. ie, have the user logged in to the community and then use the API calls. This means, server proxies are ruled out.
And because its a POST call, JSONP
is also ruled out, even if it were supported by the API's server.
So this POST call needs to be 100% javascript.
This JS will end up being part of a Webpart in Sharepoint so I don't really want to complicate it with iframes.
Well?