phpforce / rest-client Goto Github PK
View Code? Open in Web Editor NEWA PHP client for the Salesforce REST API
License: MIT License
A PHP client for the Salesforce REST API
License: MIT License
Hi Guys,
Could you tag your release please so I can use stability stable in composer please?
Thanks
Hi David -
I'm having a bit of trouble with the post method of the rest client, implemented in a Symfony2.2 project.
By way of example, this throws a 404 error. The $postData is an array keyed by field_name.
$rest_client->post('services/data/v20.0/sobjects/Lead', $postData);
Client error response
[status code] 404
[reason phrase] Not Found
[url] https://na15.salesforce.com/services/apexrest/services/data/v20.0/sobjects/Lead
This, on the other hand, works perfectly
$rest_client->call('/services/data/v27.0/sobjects/Lead/describe', null);
What am I failing to grasp about proper usage of the post method, or is it not complete?
Thanks!
Bart
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.