1,065
edits
Prawsthorne (talk | contribs) |
Prawsthorne (talk | contribs) |
||
Line 114: | Line 114: | ||
For manual issue of a badge your web server is going to have to support the '''application/json''' content-type. Ihis is done by some administrative tasks with your servers configuration. A Google search of your server name (Apache, IIS, etc.) and the keyword '''content-type''' should provide the information regarding your server recognizing this content-type. | For manual issue of a badge your web server is going to have to support the '''application/json''' content-type. Ihis is done by some administrative tasks with your servers configuration. A Google search of your server name (Apache, IIS, etc.) and the keyword '''content-type''' should provide the information regarding your server recognizing this content-type. | ||
<pre> | <pre> | ||
# Save your assertions as .json files and add this to your httpd.conf | |||
AddType application/json json | |||
</pre> | </pre> | ||
'''''Note:'' setting the content-type can also be done in code. This is currently beyond the scope of this step-by-step guide. To review this 'in code' approach feel free to read the github page discussing assetions; https://github.com/mozilla/openbadges/wiki/Assertions''' | |||
* create a screencast for editing the httpd.conf file in apache... also show the server restart... | * create a screencast for editing the httpd.conf file in apache... also show the server restart... |
edits