Исправил запрос на PUT.
Заголовки
Content-type: text/xml
Content-length: 1269
Тело запроса
<?xml version="1.0" encoding="UTF-8"?>
<prestashop>
<category>
<id>5</id>
<id_parent>4</id_parent>
<active>1</active>
<id_shop_default>1</id_shop_default>
<is_root_category>0</is_root_category>
<position>1</position>
<date_add>2014-04-22 22:48:57</date_add>
<date_upd>2014-04-22 22:48:57</date_upd>
<name>
<language id="1">T-shirts ТЕСТ</language>
<language id="2">T-shirts</language>
</name>
<link_rewrite>
<language id="1">tshirts</language>
<language id="2">tshirts</language>
</link_rewrite>
<description>
<language id="1">
<![CDATA[
<p>The must have of your wardrobe, take a look at our different colors,</p>
<p>shapes and style of our collection!</p>
]]>
</language>
<language id="2">
<![CDATA[
<p>The must have of your wardrobe, take a look at our different colors,</p>
<p>shapes and style of our collection!</p>
]]>
</language>
</description>
<meta_title>
<language id="1"></language>
<language id="2"></language>
</meta_title>
<meta_description>
<language id="1"></language>
<language id="2"></language>
</meta_description>
<meta_keywords>
<language id="1"></language>
<language id="2"></language>
</meta_keywords>
<associations>
<categories/>
<products/>
</associations>
</category>
</prestashop>
ОТВЕТ СЕРВЕРА: 413
Request Entity Too Large
Объект запроса слишком велик
( Сервер не будет обрабатывать запрос, потому что его содержание слишком велико.)
Тело ответа сервера
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource<br />/webservice/dispatcher.php<br />
does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
</body></html>
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<errors>
<error>
<message><![CDATA[Internal error. To see this error please display the PHP errors.]]></message>
</error>
</errors>
</prestashop>
Лог сервера Apeche
:1 - V31Q2I3MTH9Z9PG41A7W3SH3LJSVTM5U [01/Jul/2014:00:23:28 +0300] "PUT /api/categories/5 HTTP/1.1" 500 594
Лог ошибок сервера Apeche
[Tue Jul 01 00:23:29 2014] [error] [client ::1] Invalid Content-Length
В файл httpd.conf
добавил
LimitRequestFields 50
LimitRequestFieldSize 8190
LimitRequestLine 8190
LimitXMLRequestBody 1073741824
LimitRequestBody 1073741824
Испробовал уже почти все и по всякому.
Очень нужна помощь.