Skip to Content
0

insert google calendar event with OAUTH 2.0

Feb 09, 2017 at 10:49 AM

29

avatar image

Hi experts,

I followed this article https://wiki.scn.sap.com/wiki/display/Security/Access+Google+APIs+using+the+OAuth+2.0+Client+API#AccessGoogleAPIsusingtheOAuth2.0ClientAPI-RequestOAuth2.0Tokens step by step, doing exactly what is written there, and all works perfectly. Then I tried to modify something to be able to insert an event in my calendar (not only read my events). I modified the scope in the oauth 2.0 client profile (putting https://www.googleapis.com/auth/calendar ) and I used method = 'POST' instead of 'GET' in the abap program, and nothing else. Processing my program I get an error: HTTP/1.0 401 anauthorized. What should I add or change? Thank you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers