How can I manage Google account's contacts through JavaScript?

后端 未结 1 1732
走了就别回头了
走了就别回头了 2021-01-07 04:00

I\'m trying to manage Google account contacts through JavaScript programs. When I\'m trying to delete contacts through JavaScript, this error occurs: \"Network Error: 405 No

相关标签:
1条回答
  • 2021-01-07 04:53

    Make use of the google client api for javascript, Authenticate, getToken and then use Request and then execute it. Pass on the method and url as per your need. For delete purpose, pass these are its input:

     method : 'DELETE',
     url : '/m8/feeds/contacts/default/full/<friend id to delete>'    
    
    0 讨论(0)
提交回复
热议问题