Sha256: 10030e3de055a598102348abe19cc38a7a55c47d5d5796fca43c61dc81b17562
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
require "solid-community-client-simple" s = SOLID::CommunityClient.new(server: "http://localhost:3000/", username: "mark.wilkinson@upm.es", password: "markw") s.login at = s.get_current_access_token(webid: "http://localhost:3000/markw/profile/card#me", name: "codetest") dpop = s.prepare_dpop(url: "http://localhost:3000/markw/", method: "get") res = s.execute_with_proof(dpop: dpop, data: "", content_type: "text/turtle", current_access_token: at) puts res.body
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solid-community-client-simple-0.0.5 | demo.rb |