Skip to content

Commit

Permalink
Fixing some problems with python sample code for actions and impressi…
Browse files Browse the repository at this point in the history
…ons.
  • Loading branch information
longdogz committed Apr 10, 2017
1 parent aa85da8 commit 072ef39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ui/app/resources/samplecode/python/action.py.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
user: the user who should be assigned
"""

urlAssignment = "http://abtesting.intuit.com/api/v1/events/applications/%s/experiments/%s/users/%s" %(application, experiment, user);
urlAssignment = "https://abtesting.intuit.com/api/v1/events/applications/%s/experiments/%s/users/%s" %(application, experiment, user);

headers = {'content-type': 'application/json'}
# The actoin name can be freely assigned and an additional payload is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
user: the user who should be assigned
"""

urlAssignment = "http://abtesting.intuit.com/api/v1/events/applications/%s/experiments/%s/users/%s" %(application, experiment, user);
urlAssignment = "https://abtesting.intuit.com/api/v1/events/applications/%s/experiments/%s/users/%s" %(application, experiment, user);
headers = {'content-type': 'application/json'}
events = {'events':[{'name':'IMPRESSION'}]}

Expand Down

0 comments on commit 072ef39

Please sign in to comment.