# Problem with Rest API Shopware 5.2 with PUT method

**URL:** <https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405>\
**Category:** Programmierung\
**Created:** [20. Juli 2016 um 17:30 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405 "2016-07-20T17:30:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sofiija](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@Sofiija](https://forum.shopware.com/u/Sofiija)\
**Post date:** [20. Juli 2016 um 17:30 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405/1 "2016-07-20T17:30:33Z")

</div>

Hello all,&nbsp;

I am having issues when trying to use the **PUT** method in shopware on the articel resource. I keep getting this error&nbsp;[http://prntscr.com/bvbx5e](http://prntscr.com/bvbx5e) . And it works for **POST** and **GET**. I am using the **ApiClient** provided in the developers section.&nbsp;[REST API - Basics](https://developers.shopware.com/developers-guide/rest-api/) . Are there some new changes in the 5.2 version? Is there a documentation or something that I could read?&nbsp;

Thank you

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [20. Juli 2016 um 18:33 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405/2 "2016-07-20T18:33:24Z")

</div>

by the way: You could use this Shopware SDK&nbsp;[GitHub - LeadCommerceDE/shopware-sdk: A PHP SDK for the Shopware 5 REST API](https://github.com/LeadCommerceDE/shopware-sdk)

---

<div class="post-metadata">

**Author:** ![Sofiija](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@Sofiija](https://forum.shopware.com/u/Sofiija)\
**Post date:** [21. Juli 2016 um 09:10 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405/3 "2016-07-21T09:10:13Z")

</div>

Thanks,&nbsp;  
Tried with the SDK that but I am getting a&nbsp;  
GuzzleHttp\Exception\ClientException: Client error: `GET http://mysite.com.mk/api/articles` resulted in a `406 Not Acceptable` response:&nbsp;

---

<div class="post-metadata">

**Author:** ![amahrt](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@amahrt](https://forum.shopware.com/u/amahrt)\
**Post date:** [22. Juli 2016 um 13:56 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405/4 "2016-07-22T13:56:54Z")

</div>

Heya, thanks for trying our SDK. When you encounter issues like this please open a issue on this issue tracker with more details:

> **[LeadCommerceDE/shopware-sdk](https://github.com/LeadCommerceDE/shopware-sdk/issues)**
>
> s

---

<div class="post-metadata">

**Author:** ![Sofiija](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@Sofiija](https://forum.shopware.com/u/Sofiija)\
**Post date:** [23. Juli 2016 um 13:11 UTC](https://forum.shopware.com/t/problem-with-rest-api-shopware-5-2-with-put-method/38405/5 "2016-07-23T13:11:45Z")

</div>

Hello,&nbsp;  
Actually my primary problem was to do with my server&nbsp;mod\_security settings, so nothing wrong&nbsp;with the SDK. If I encounter additional problems I will report them there.&nbsp;  
Thank you :)&nbsp;
