Skip to content

Fix token refresh and push notifications #16

Description

@tchellomello

Reversing engineering using mitmproxy with a Ring software installed on a Windows box I had this:

2017-02-26 00:11:46 PUT https://api.ring.com/clients_api/device
204 No Content [no content] 104ms
Accept-Encoding:  gzip, deflate                                                                                                                     
X-API-LANG:       en                                                                                                                                
Content-Length:   661                                                                                                                               
Content-Type:     application/x-www-form-urlencoded; charset=UTF-8                                                                                  
Host:             api.ring.com                                                                                                                      
Connection:       Keep-Alive                                                                                                                        
Cache-Control:    no-cache                                                                                                                          
URLEncoded form                                                                                                                    
device[metadata][device_model]: Standard PC (i440FX + PIIX. 1996)
device[metadata][device_name]:  DESKTOP-R9971HI
device[metadata][resolution]:   919x822
device[metadata][app_version]:  1.3.806
device[metadata][app_instalation_date]:2017-02-10 08:17:26Z
device[metadata][manufacturer]: QEMU
device[metadata][device_type]:  desktop
device[metadata][architecture]: x64
device[metadata][language]:     en
auth_token:                     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa__
device[push_notification_token]:https://bn2.notify.windows.com/?token=AwYAAAAnm5k98kgcotkr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions