User:Prawsthorne/StepxStep: Difference between revisions

Jump to navigation Jump to search
Line 124: Line 124:
There is currently two approaches to manually issuing a badge to the OBI backpack. These have been referenced in a number of blog posts mentioned above and in step 0 of this step-by-step guide.  
There is currently two approaches to manually issuing a badge to the OBI backpack. These have been referenced in a number of blog posts mentioned above and in step 0 of this step-by-step guide.  
* One method is to make an http request with the correctly formatted json file as a part of the URL (provide example).
* One method is to make an http request with the correctly formatted json file as a part of the URL (provide example).
<pre>
http://beta.openbadges.org/baker?assertion=http://yourhosting.com/u/folder/BillyBlogTestBadge2.json
</pre>
* the second method is to submit the json file using a javascript call  
* the second method is to submit the json file using a javascript call  
<pre>
<pre>
<a href="javascript:OpenBadges.issue(['http://badges.bit.bc.ca/mwa/mwa-pjrch01.json'], function(errors, successes)
{  });">, claim your badge.</a>
</pre>
<?php
<?php
     echo hash("sha256", "peter@example.com"."mwach01");
     echo hash("sha256", "peter@example.com"."mwach01");
1,065

edits

Navigation menu