This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'net/https' | |
require 'json' | |
# Change 'feedback' to the name of your UserVoice subdomain (leaving the quotes) | |
subdomain = "feedback" | |
# Change "xxxe8ae9c6a3c039" to the bearer token you received in step 1 (leaving the quotes) | |
token = "xxxe8ae9c6a3c039" | |
# Put your data into a json object with fields matching this example |