Skip to content

geolonia/wsdebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使い方

$ npm install
$ npm start

以下のように Channel をハッシュで指定する

http://localhost:3000/#my-channel

または

https://geolonia.github.io/wsdebug/#my-channel

以下のコマンドを実行

curl -XPOST \
-d "{\"message\": $(curl -L https://opendata.takamatsu-fact.com/environmental_facilities/data.geojson)}" \
-H 'content-type: application/json' \
'https://api-ws-admin.geolonia.com/dev/channels/my-channel/messages'