This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm currently trying to setup some API calls to Informatica Cloud, eventually pulling in data and pushing it to Salesforce objects. I'm pretty new to API calls though, and can't seem to figure it out. I was able to create a successful API call using Postman, as well as making a quick Python script and making a successful API call that way.
Right now, I'm just trying to set a POST call that does the login for Informatica. Once I figure that out, it'll be easy enough to setup the GET calls I need to pull data in. I have my attempted Salesforce call, as well as my successful Python script just to show what I've been trying to emulate. Also, just so there's more information, the response I get back is a JSON response.
In Apex, when I make the call, I just get a response back with "Error" and Status Code: 400.
Apex Callout: http://pastebin.com/rSCE7xFj#
Python Callout: http://pastebin.com/GyrKYfHU
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/salesforce/...