save data via chatfuel json api

Ray Lee 67a45847ed update readme 6 éve
app 67a45847ed update readme 6 éve
bin 9156d8bebb initial commit 6 éve
config 9f2ea1a831 add basic function & api 6 éve
db 9156d8bebb initial commit 6 éve
lib 9156d8bebb initial commit 6 éve
log 9156d8bebb initial commit 6 éve
public 9156d8bebb initial commit 6 éve
tmp 9156d8bebb initial commit 6 éve
vendor 9156d8bebb initial commit 6 éve
.editorconfig 9156d8bebb initial commit 6 éve
.gitignore 9156d8bebb initial commit 6 éve
.ruby-gemset 9156d8bebb initial commit 6 éve
.ruby-version 9156d8bebb initial commit 6 éve
Gemfile 9f2ea1a831 add basic function & api 6 éve
Gemfile.lock 9f2ea1a831 add basic function & api 6 éve
README.md 67a45847ed update readme 6 éve
Rakefile 9156d8bebb initial commit 6 éve
config.ru 9156d8bebb initial commit 6 éve

README.md

README

Save data from chatfuel json api

Ruby version

ruby '2.5.1'

Rails version

gem 'rails', '~> 5.2.0'

No Model (Database)

file all saved in /storage/.

APIs

GET /event-key

get a hex code from server

POST /save-data/:event_key

put this string in your chatfuel json api url

GET /download-data/:event_key

download the newest report while you need