Comments (4)
Check if 8caa55c1688e48c28cdf1f8a5e88bd1f' sits in your
~/.tipboard/settings-local.py` as API_KEY
Did you try by curl?
curl http://192.168.0.116:8080/api/v0.1/8caa55c1688e48c28cdf1f8a5e88bd1f/push -X POST -d "tile=text" -d "key=id_1" -d 'data={"text": "Hello World!"}'
Try both and provide answers, please.
from tipboard.
I have copied wrong key. So sorry...
Works now. Works with curl
. httpie
need the following syntax:
lufa@lufa-work:~$ http --form POST http://192.168.0.116:8080/api/v0.1/8caa55c1688e48c28cdf1f8a5e88bdff/push tile=text key=id_1 data='{"text":"Hello World"}'
HTTP/1.1 200 OK
Content-Length: 33
Content-Type: text/html; charset=UTF-8
Date: Fri, 25 Sep 2015 13:22:47 GMT
Server: TornadoServer/3.0.1
Tile's data pushed successfully.
Thank you!
P.S.
Shouldn't I receive 401 Unauthorized or similar in such cases?
from tipboard.
Yes, you are absolutely right - Tipboard should return 401 instead of 404 in such case.
from tipboard.
[root@localhost .tipboard]# curl http://10.0.0.0:7272/api/v0.1/apikey/push -X POST -d "tile=text" -d "key=01" -d 'data={"text": "Hello World!"}'
<title>504 Gateway Timeout</title>Gateway Timeout
Server error - server 10.0.0.0 is unreachable at this moment.
Please retry the request or contact your administrator.
How to solve this
from tipboard.
Related Issues (20)
- Dependency issue when installing tipboard through pip HOT 2
- Logic api push HOT 1
- Cols before Rows HOT 8
- advanced_plot examples give Error: No data specified HOT 1
- Question : Any resources on how to setup tipboard with nginx? HOT 6
- Internet Explorer 11 error "Unable to get property 'Windows' of undefined or null reference"
- pypi package out of date - new release possible HOT 2
- Issue when creating more than 3 rows HOT 1
- Setup timeout to redis connexion HOT 2
- Error when trying to update a simple tile HOT 1
- How to display photo in the title? HOT 1
- basic setup - Super n00b - help needed HOT 1
- update simple_percentage configuration does not take effect HOT 2
- NameError: name 'execfile' is not defined HOT 3
- Need Some Basic Help Getting Started HOT 5
- Is there a live demo anywhere?
- Light theme? HOT 1
- Can I install on Centos? HOT 1
- Send REST using windows powershell
- Installation failure - NameError: name 'execfile' is not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tipboard.