Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

rosesz/api-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api example usage

$ curl -X POST --data "username=yourusername&password=yourpassword" http://localhost:3000/api/sign-in.json
{"auth_token":"5400edbca30c5a63de549e03735ebac"}
$ curl -H "Authorization: Token token=5400edbca30c5a63de549e03735ebac" http://localhost:3000/api/reports.json
$ curl -H "Authorization: Token token=5400edbca30c5a63de549e03735ebac"  POST --data "comment=Lorem ipsum" http://localhost:3000/api/reports/generate.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published