forked from rosette-api/php
-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes
lauren12292 edited this page Mar 29, 2016
·
24 revisions
These are modifications since the previous release that require changes in your calls to the binding.
- Enable cURL in php. This can be achieved by using the command
sudo apt-get install php5-curlor by uncommenting the lineextension=php_curl.dllin php.ini. - The
/matched-nameand/translated-nameendpoints have been renamed to/name-similarityand/name-translationin the Rosette API, so previous API users will need to change these calls in their node.js code. See https://developer.rosette.com/release-notes for more detailed API changes that will affect the functionality of your app.
These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.
- The
unit,contentType, andcontentBytesinput parameters have been removed. Base64-encoded input should be sent as an input file. - The
X-RosetteAPI-Request-IdandX-RosetteAPI-ProcessedLanguagevalues have been added as response headers. - The 'retrying requests' mechanism has been removed and the function name has been changed to
makeRequest(). - GET and POST requests are now composed and made using cURL instead of with
file_get_contents().