-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
5Questions
-
0Replies
Salesforce Rest Api Response Empty
Dim objRequest As Object Dim fullUrl As String Dim blnAsync As Boolean Dim strResponse As String Set objRequest = CreateObject("MSXML2.XMLHTTP") fullUrl = Query_Data_Url_Production & query blnAsync = True With objRequest .Open "GET", fullUrl, blnAsync .SetRequestHeader "Authorization", "Bearer " & token .Send 'spin wheels whilst waiting for response While objRequest.readyState <> 4 DoEvents Wend strResponse = .ResponseText End WithI also tried with curl and the token I obtain from salesforce api.
and response is empty, too.
Please do me a favour.
- Wmohan
- November 08, 2019
- Like
- 0
- Continue reading or reply
How To Avoid Replacing original source file in upgrading Force.com Project
I have "Force.com" Project source code. When I try to import this project into Eclipse Force.com IDE,there is a warning message to "Upgrade Force.com Project" to Summer'14.
I upgrade the project and some of the source files are replaced and reflect from the server. Is there anyways to avoid replacing original source code with ones from the server. Any ideas please
- Wmohan
- November 14, 2014
- Like
- 0
- Continue reading or reply
Validation of password
I have created a site to enter email and password. The object used is contact, the fields used is contact.email and contact.password__c.
After the user enter the email and password, I have already placed to check for the existance of email, blank values etc.
I would like to check whether the password entered by the user is the same as what is there in the record corresponding to the email entered.
Not sure how to figure the logic. any body can advice?
- Wmohan
- May 07, 2013
- Like
- 0
- Continue reading or reply
FTP from salesfroce to jobcentral
Trying to use webservie to create xml and ftp to jobcentral.
public PageReference postJob() {
HttpRequest req = new HttpRequest();
HttpResponse res = new HttpResponse();
Http http = new Http();
req.setEndpoint('http://dpi.careerbuilder.com/webservices/dpitg.aspx');
req.setMethod('POST');
req.setHeader('Content-Type', 'application/xml');
//req.setBody(this.xmlOutput);
req.setBodyAsBlob(Blob.valueOf(this.xmlOutput));
//req.setCompressed(true);
Try {
res = http.send(req);
this.postResponse = res.toString() + ' : ' + res.getBody();
} Catch (Exception e) {
this.postResponse = 'Error: ' + e.getMessage();
}
return null;
}
-------------------
I have the message below, not sure how to fix this.
System.HttpResponse[Status=OK, StatusCode=200] : <html><head><title>5|CBAction is a required field.<BR></title></head><body>5|CBAction is a required field.<BR></body></html>
- Wmohan
- March 20, 2013
- Like
- 0
- Continue reading or reply
Test integration between external sites and salesforce
Hi
I am new to the integration between salesforce and the other websites.
)
I would like to seek some help form experienced persons.
I would like to establish and test the connection from salesforce to 3 sites, monster.com (using ftp), stjobs (using API) and jobcentral (using webservice)
It is highly appreciated, if any body can help / advice me.
I am perty new to this type of integration.
- Wmohan
- March 16, 2013
- Like
- 0
- Continue reading or reply