Jump to content

Adding element by webservice


giovannicir

Recommended Posts

Hi, i have tryed the code on this site: https://github.com/PrestaShop/PrestaShop-webservice-lib

I have imported PS library and i have used the example in examples dir.

I have updated the code with my parameter, but not work, it returns:  

 

HTTP REQUEST HEADER
GET /api/customers?schema=blank HTTP/1.1Authorization: Basic -Host: www.remotesite.frAccept: */*
HTTP RESPONSE HEADER
HTTP/1.1 404 Not FoundDate: Thu, 30 Oct 2014 16:01:35 GMTServer: -Last-Modified: Thu, 16 Dec 2010 13:56:35 GMTETag: -Accept-Ranges: bytesContent-Length: 624Vary: Accept-EncodingContent-Type: text/html
RETURN HTTP BODY
<html xmlns="http://www.w3.org/1999/xhtml">	<head>		<title>ispCP OMEGA - Error 404</title>		<meta name="robots" content="nofollow, noindex" />		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />		<script src="/errors/inc/errordocs.js" type="text/javascript"></script>		<link href="/errors/inc/errordocs.css" rel="stylesheet" type="text/css" />	</head>	<body>		<div id="zh">			<div id="content">				<h2>Error 404!</h2>				<br />				<span class="path"><script type="text/javascript"> document.write(get_path()); </script></span>				<h3>File Not Found!</h3>			</div>		</div>	</body></html>

Bad ID

 

 

i try to call webservice from another server... 

 

Help me

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...