Authorization

The whole ShoppingFeed API requires that calls are made with a valid token.

Your account token can be found on your access page

Token MUST be provisionned in every request header, as following:

GET http://api.shopping-feed.com/v1/resource HTTP/1.1
Authorization: Bearer da39a3ee5e6b4b0d3255bfef95601890afd80709
Accept: application/json

If the token is not provided, does not exists, or does not allow resource access, a Forbidden (403) response is returned:

HTTP/1.1 403 Forbidden
Content-Type: application/problem+json

{
    "type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
    "title":"Forbidden",
    "detail":"Service not authorized",
    "status":403
}