Jump to content

help with this please


Recommended Posts

hi i would really appreciate if someone can translate this soap request into a rest request

 

<?php

include ("nusoap.php");

$soapclient("http://soap.amazon.com/shemas2/AmazonWebservices.wsdl",true);

$proxy = $soapclient->getProxy();

$params = array ( 'browse_node' =>19,

                          'page'          =>1,

                          'mode'        =>'books',

                          'tag'          =>'xxxx',

                          'type'        =>'lite',

                          'devtag'      =>'xxxx'

);

$Result = $proxy->BrowseNodeSearchRequest($params);

if ($result['faultstring'])

{

?>

  <h2> error</h2>

<? echo $result['faultstring'];?>

<?

}

else{

$total =$result['Totalresults'];

$item= $result['details'];

?>

 

can anyone help me on that , jst want to see if it was a REST request how would it look like thx

Link to comment
https://forums.phpfreaks.com/topic/61825-help-with-this-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.