Scout24 / restapi-php-sdk

SDK für PHP-Entwickler um die Arbeit mit der API von ImmobilienScout24 zu vereinfachen. Über die API erhält man Ergebnislisten, Objektdaten, uvm. von ImmobilienScout und kann diese Daten inhherhalb seines Webservice integrieren. Die Dokumentation zum SDK findet man unter https://github.com/Immocaster/php-sdk/wiki.
65 stars 45 forks source link

PHP 7 upgrade not working #49

Closed rajesh-smartwebtech closed 6 years ago

rajesh-smartwebtech commented 6 years ago

Immocaster_Sdk is not working on php 7 on server Ubuntu 14.04.5 LTS on server

i requesting with authorized credential on sdk with this code

$sImmobilienScout24Key    = 'valid key here';
$sImmobilienScout24Secret = 'valid key here';
$oImmocaster = Immocaster_Sdk::getInstance('is24',$sImmobilienScout24Key,$sImmobilienScout24Secret);

$oImmocaster->setContentResultType('json');
$oImmocaster->setRequestUrl('live');

$aParameter = array('geocoordinates'=>'52.52546480183439;13.369545936584473;2','realestatetype'=>'apartmentrent');
$res = $oImmocaster->radiusSearch($aParameter);

print_r( $res );

i see this error

HTTP Status 405 – Method Not Allowed

HTTP Status 405 – Method Not Allowed


Type Status Report

Message HTTP is not allowed for this request!

Description The method received in the request-line is known by the origin server but not supported by the target resource.


Apache Tomcat

please help about issue