Sergiy, I put the X-Appery-App-Id in when I click Generate in API Express, but results are still wrong!
1) Here's the database before I click "Generate":
2) Here's how I'm filling out the fields:
3) Here's the response to "Run REST API" (note: "updatedAt" shows current timestamp, but channels is [4]; server HTTP_RESPONSE_CODE" is "200"):
[quote:]
{
"BODY": {
"id": "57d20173e4b071c20d9ade79",
"token": "c443IDPbFpA:APA91bFh_N1eFpuyHPGW6PQaAryuQBut7LI0tkYoReTgYtZkW-rxI_NPuSuMf4plLHnKLY5Emc9kUoOEEqUKwZABzFJNeQPqlk5LDgnLYLnErWtcK2XkU-XDFhOMHI0Bo_0QkgFsvYjF",
"deviceID": "b10693f5cdfd3a33",
"timeZone": "GMT-04:00",
"type": "A",
"createdAt": "2016-09-09 00:25:23.518",
"updatedAt": "2016-09-16 11:21:08.366",
"channels": [
4
]
},
"HTTP_RESPONSE_HEADERS": {
"Strict-Transport-Security": "max-age=15768000",
"Transfer-Encoding": "chunked",
"Date": "Fri, 16 Sep 2016 11:21:08 GMT",
"X-Appery-App-Id": "38bc4817-4381-4cf1-a296-90330f6ec7c8",
"Content-Type": "application/json",
"Connection": "keep-alive",
"Server": "nginx"
},
"HTTP_RESPONSE_CODE": 200
}
[/quote]
4) Here's the database afterwards (note: shows update timestamp, but still shows [4], not [1,3]):