-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
require 'uri'
require 'net/http'
url = URI("https://api.revolt.chat/bots/__BOT__")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Session-Token"] = <my token>
response = http.request(request)
puts response.read_bodyoutput:
401: Unauthorized
The request requires user authentication.
Rocket
://
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working