错误401与Oauth 1.0的Php cUrl请求

I want to get a json from an API of a Magento Eshop. I tried to retrieve this by Php cUrl but i ahev a 401 error retrieved by the json. I already have consumer_key, consumer_secret, token and token_secret generated by the app on my account on the supplier website. I put them in the header but I have this returned:

// 20190207092925
// http://localhost/inart-REST/myapi.php

{
  "messages": {
    "error": [
      {
        "code": 401,
        "message": "oauth_problem=version_rejected"
      }
    ]
  }
}

I can't figure out why, beacuse on Postman it return me all json with a 200 status code.