q789加速器

q789加速器

The SHIFT72 API is grouped into a number of areas of use. Developers can use this reference page to navigate to areas of interest.

q789加速器

Authentication is achieved using the domain of the site that you own. For example, our demo site http://store.shift72.com is the endpoint used for api access. Think of this domain name as a ‘username’ when it comes to using the api. You also need to supply an api key, this will authenticate the requests as needed. Not all requests require authentication.

q789加速器


curl -i 'http://store.shift72.com/services/users/auth/sign_up' \
     -d 'user[email]=me@email.com' \
     -d 'user[password]=password' \
     -X POST
curl -i 'http://store.shift72.com/services/users/auth/sign_in' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -d '{ "user": {
            "email":"user@example.com",
            "password":"123",
            "remember_me":false }
        }'

q789加速器

HttpStatus: 200
{  
  "auth_token":"3007b63f9947fad76cfc3347b1d47a",
  "account":{  
    "user_id":2,hi vph加速器下载free v pn加速器:"admin@store.shift72.com",
    天行破解版无限免费:"Admin User",
    "users":[  
      {free加速器安卓下载云帆永久免费:2,
        "email":"admin@store.shift72.com",
        "name":"Admin User",
        "avatar_url":null,
        "access_code":null,hi vph加速器下载"account_admin":null,
        "dob":null
      }
    ],
    "bypass_cache":true
  }
}

q789加速器

Errors will use HTTP status codes. In some cases a reason will be supplied.