Skip to content

Instantly share code, notes, and snippets.

@noeticpenguin noeticpenguin/thrift.js Secret
Last active Dec 16, 2015

Embed
What would you like to do?
using the built in ajax proxy
var request = this.getXmlHttpRequestObject();
request.open("POST", '/services/proxy', false);
request.setRequestHeader("Authorization", credential);
request.setRequestHeader('SalesforceProxy-Endpoint', this.url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.