Skip to content

Commit 76ce121

Browse files
author
Andrii Bondarchuk
committed
Update readme
1 parent 02fee1a commit 76ce121

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# Set CLIENT_SECRET and VERIFY_TOKEN environment variables
1+
# Set CLIENT_ID, CLIENT_SECRET and VERIFY_TOKEN environment variables
22

33
# List of existing push subscriptions
4-
curl -X GET "https://www.strava.com/api/v3/push_subscriptions?client_id=115985&client_secret=CLIENT_SECRET"
4+
curl -X GET "https://www.strava.com/api/v3/push_subscriptions?client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
55

66
# Delete an existing push subscription by SUBSCRIPTION_ID
7-
curl -X DELETE "https://www.strava.com/api/v3/push_subscriptions/SUBSCRIPTION_ID?client_id=115985&client_secret=CLIENT_SECRET"
7+
curl -X DELETE "https://www.strava.com/api/v3/push_subscriptions/SUBSCRIPTION_ID?client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
88

99
# Create a new push subscription
1010
curl -X POST https://www.strava.com/api/v3/push_subscriptions \
11-
-F client_id=115985 \
11+
-F client_id=CLIENT_ID \
1212
-F client_secret=CLIENT_SECRET \
13-
-F callback_url=https://fitsynchubfunctions.azurewebsites.net/strava/webhook \
13+
-F callback_url=https://fitsynchubfunctionsapp.azurewebsites.net/strava/webhook \
1414
-F verify_token=VERIFY_TOKEN
1515

1616
# Link to authorize the app
17-
http://www.strava.com/oauth/authorize?client_id=115985&response_type=code&redirect_uri=https://fitsynchubfunctions.azurewebsites.net/strava/exchange_token&approval_prompt=force&scope=read,read_all,profile:read_all,profile:write,activity:read,activity:read_all,activity:write
17+
http://www.strava.com/oauth/authorize?client_id=CLIENT_ID&response_type=code&redirect_uri=https://fitsynchubfunctionsapp.azurewebsites.net/strava/exchange_token&approval_prompt=force&scope=read,read_all,profile:read_all,profile:write,activity:read,activity:read_all,activity:write

0 commit comments

Comments
 (0)