Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REQUEST 1 (with 201 status response)
- Headers:
- Request URL:https://yalantis.goabode.com/api/v1/devices/RF:38976742
- Request Method:POST
- Status Code:201 Created
- Remote Address:34.214.131.217:443
- Referrer Policy:no-referrer-when-downgrade
- Response headers:
- Access-Control-Allow-Headers:ABODE-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method
- Access-Control-Allow-Methods:GET, POST, OPTIONS, PUT, DELETE
- Access-Control-Allow-Origin:*
- Cache-Control:no-store, no-cache, must-revalidate
- Connection:keep-alive
- Content-Encoding:gzip
- Content-Type:application/json; charset=utf-8
- Date:Fri, 23 Feb 2018 13:57:46 GMT
- Expires:Thu, 19 Nov 1981 08:52:00 GMT
- Pragma:no-cache
- Server:nginx/1.12.2
- Transfer-Encoding:chunked
- Vary:Accept-Encoding
- X-Powered-By:PHP/7.0.12
- Request headers:
- ABODE-API-KEY:web-47f7e84949a8edbe8bcb3a52eab2b918
- Accept:application/json, text/plain, */*
- Accept-Encoding:gzip, deflate, br
- Accept-Language:ru,en-US;q=0.9,en;q=0.8,pt-BR;q=0.7,pt;q=0.6
- Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMjQzMTQxOSIsImlhdCI6MTUxOTM5MjU5NiwiZXhwIjoxNTE5Mzk2MTk2LCJpc3MiOiJodHRwczpcL1wvemlncm9uLmdvYWJvZGUuY29tIiwiYXVkIjpbImh0dHBzOlwvXC96aWdyb24uZ29hYm9kZS5jb20iXSwiaHR0cDpcL1wvZ29hYm9kZS5jb21cL2NsYWltc1wvMjAxN1wvbWFjIjoiRkY6MDA6QTA6MDA6MDA6MDEifQ.7pdFs4MQH5A3gXazKUMK0EM_SHnmi05TBM5qEsO7_1A
- Connection:keep-alive
- Content-Length:40
- Content-Type:application/x-www-form-urlencoded
- Cookie:SESSION-STAGE=v359161gqil57crgc3a7knui24; horizontalMenu.isVisible=false; horizontalMenu.isFixed=true; horizontalMenu.minimal=false; horizontalMenu.clickToExpand=false; sidebar.isVisible=true; sidebar.isCollapsed=false; sidebar.toggleOthers=true; sidebar.isFixed=true; sidebar.isRight=false; chat.isOpen=false; container.isBoxed=false; skins.sidebarMenu=; skins.horizontalMenu=; skins.userInfoNavbar=; uuid=3c54e1780d825999f0702b24abdfa6c9; updateFirmware=true; key=web-47f7e84949a8edbe8bcb3a52eab2b918; io=ISXXFICJvcEPkjwcAADP; AWSALB=um7BKbXrgxZrOnQfPONgmWZ2VrLO57DE0CUsgaTp5aNEDDz++7uRcG91ugahKNLIZbWigBN+azXIJ+mALKVeXNq+29/79yuVs9CBZA2LkynkpPRC39mzQnuLHwWW
- Host:yalantis.goabode.com
- Origin:https://yalantis.goabode.com
- Referer:https://yalantis.goabode.com/
- User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
- Response body:
- {"id":"RF:38976742","name":"Door Contact","bypass":"0","is_window":"0"}
- ----------------------------------------------------------------------------------------------------
- REQUEST 2 (with 500 status response)
- Headers:
- Request URL:https://yalantis.goabode.com/api/v1/devices/RF:38976742
- Request Method:POST
- Status Code:500
- Remote Address:54.69.60.1:443
- Referrer Policy:no-referrer-when-downgrade
- Response headers:
- access-control-allow-headers:ABODE-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method
- access-control-allow-methods:GET, POST, OPTIONS, PUT, DELETE
- access-control-allow-origin:*
- cache-control:no-store, no-cache, must-revalidate
- content-length:299
- content-type:text/plain;charset=UTF-8
- date:Fri, 23 Feb 2018 13:58:12 GMT
- expires:Thu, 19 Nov 1981 08:52:00 GMT
- pragma:no-cache
- server:nginx/1.12.2
- status:500
- x-powered-by:PHP/7.0.12
- Request headers:
- :authority:yalantis.goabode.com
- :method:POST
- :path:/api/v1/devices/RF:38976742
- :scheme:https
- abode-api-key:web-47f7e84949a8edbe8bcb3a52eab2b918
- accept:application/json, text/plain, */*
- accept-encoding:gzip, deflate, br
- accept-language:ru,en-US;q=0.9,en;q=0.8,pt-BR;q=0.7,pt;q=0.6
- authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMjQzMTQxOSIsImlhdCI6MTUxOTM5MjU5NiwiZXhwIjoxNTE5Mzk2MTk2LCJpc3MiOiJodHRwczpcL1wvemlncm9uLmdvYWJvZGUuY29tIiwiYXVkIjpbImh0dHBzOlwvXC96aWdyb24uZ29hYm9kZS5jb20iXSwiaHR0cDpcL1wvZ29hYm9kZS5jb21cL2NsYWltc1wvMjAxN1wvbWFjIjoiRkY6MDA6QTA6MDA6MDA6MDEifQ.7pdFs4MQH5A3gXazKUMK0EM_SHnmi05TBM5qEsO7_1A
- content-length:40
- content-type:application/x-www-form-urlencoded
- cookie:SESSION-STAGE=v359161gqil57crgc3a7knui24; horizontalMenu.isVisible=false; horizontalMenu.isFixed=true; horizontalMenu.minimal=false; horizontalMenu.clickToExpand=false; sidebar.isVisible=true; sidebar.isCollapsed=false; sidebar.toggleOthers=true; sidebar.isFixed=true; sidebar.isRight=false; chat.isOpen=false; container.isBoxed=false; skins.sidebarMenu=; skins.horizontalMenu=; skins.userInfoNavbar=; uuid=3c54e1780d825999f0702b24abdfa6c9; updateFirmware=true; key=web-47f7e84949a8edbe8bcb3a52eab2b918; io=ISXXFICJvcEPkjwcAADP; AWSALB=um7BKbXrgxZrOnQfPONgmWZ2VrLO57DE0CUsgaTp5aNEDDz++7uRcG91ugahKNLIZbWigBN+azXIJ+mALKVeXNq+29/79yuVs9CBZA2LkynkpPRC39mzQnuLHwWW
- origin:https://yalantis.goabode.com
- referer:https://yalantis.goabode.com/
- user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
- Response body:
- <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
- <h4>A PHP Error was encountered</h4>
- <p>Severity: Notice</p>
- <p>Message: Undefined offset: 8</p>
- <p>Filename: controllers/v1.php</p>
- <p>Line Number: 1701</p>
- </div>{"id":"RF:38976742","name":"Door Contact","bypass":"0"}
- ------------------------------------------------------------------------------------------------------------
- REQUEST 3 (with 400 status, received these all the time after 500 on attempt to add device by clicking 'Continue' button)
- Headers:
- Request URL:https://yalantis.goabode.com/api/v1/devices/RF:38976742
- Request Method:PUT
- Status Code:400
- Remote Address:54.69.60.1:443
- Referrer Policy:no-referrer-when-downgrade
- Response headers:
- access-control-allow-headers:ABODE-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method
- access-control-allow-methods:GET, POST, OPTIONS, PUT, DELETE
- access-control-allow-origin:*
- cache-control:no-store, no-cache, must-revalidate
- content-encoding:gzip
- content-type:application/json; charset=utf-8
- date:Fri, 23 Feb 2018 13:58:00 GMT
- expires:Thu, 19 Nov 1981 08:52:00 GMT
- pragma:no-cache
- server:nginx/1.12.2
- status:400
- vary:Accept-Encoding
- x-powered-by:PHP/7.0.12
- Request headers:
- :authority:yalantis.goabode.com
- :method:PUT
- :path:/api/v1/devices/RF:38976742
- :scheme:https
- abode-api-key:web-47f7e84949a8edbe8bcb3a52eab2b918
- accept:application/json, text/plain, */*
- accept-encoding:gzip, deflate, br
- accept-language:ru,en-US;q=0.9,en;q=0.8,pt-BR;q=0.7,pt;q=0.6
- authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMjQzMTQxOSIsImlhdCI6MTUxOTM5MjU5NiwiZXhwIjoxNTE5Mzk2MTk2LCJpc3MiOiJodHRwczpcL1wvemlncm9uLmdvYWJvZGUuY29tIiwiYXVkIjpbImh0dHBzOlwvXC96aWdyb24uZ29hYm9kZS5jb20iXSwiaHR0cDpcL1wvZ29hYm9kZS5jb21cL2NsYWltc1wvMjAxN1wvbWFjIjoiRkY6MDA6QTA6MDA6MDA6MDEifQ.7pdFs4MQH5A3gXazKUMK0EM_SHnmi05TBM5qEsO7_1A
- content-length:60
- content-type:application/x-www-form-urlencoded
- cookie:SESSION-STAGE=v359161gqil57crgc3a7knui24; horizontalMenu.isVisible=false; horizontalMenu.isFixed=true; horizontalMenu.minimal=false; horizontalMenu.clickToExpand=false; sidebar.isVisible=true; sidebar.isCollapsed=false; sidebar.toggleOthers=true; sidebar.isFixed=true; sidebar.isRight=false; chat.isOpen=false; container.isBoxed=false; skins.sidebarMenu=; skins.horizontalMenu=; skins.userInfoNavbar=; uuid=3c54e1780d825999f0702b24abdfa6c9; updateFirmware=true; key=web-47f7e84949a8edbe8bcb3a52eab2b918; io=ISXXFICJvcEPkjwcAADP; AWSALB=um7BKbXrgxZrOnQfPONgmWZ2VrLO57DE0CUsgaTp5aNEDDz++7uRcG91ugahKNLIZbWigBN+azXIJ+mALKVeXNq+29/79yuVs9CBZA2LkynkpPRC39mzQnuLHwWW
- origin:https://yalantis.goabode.com
- referer:https://yalantis.goabode.com/
- user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
- Response body:
- {"code":400,"message":"Device not found.","title":"","detail":null}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement