Update README.md

This commit is contained in:
Sascha Greuel 2016-04-30 01:02:15 +02:00
parent df09da8591
commit c96205fbe5

View file

@ -14,7 +14,7 @@ Now I can always include http://rem.mit-license.org in all my projects which lin
You can fork this project, send me a pull request and wait for me to pull (which I'll do as quickly as possible) or if the user is still available you can do it yourself from the command line:
```bash
curl -d'{ "copyright": "Remy Sharp" }' http://rem.mit-license.org
curl -d'{ "copyright": "Remy Sharp" }' https://rem.mit-license.org
```
If the `rem` user isn't taken already, then this will create the new user file on the fly and the url will be immediately available.
@ -22,7 +22,7 @@ If the `rem` user isn't taken already, then this will create the new user file o
You can send a full JSON file to the API, not *just* the copyright, so this works too:
```bash
curl -d'{ "copyright": "Remy Sharp", "url": "http://remysharp.com", "email": "me@mysite.com", "format": "txt" }' http://rem.mit-license.org
curl -d'{ "copyright": "Remy Sharp", "url": "http://remysharp.com", "email": "me@mysite.com", "format": "txt" }' https://rem.mit-license.org
```
If there's any problems in the automated creation, send me a pull request and it'll go live soon after.