Code Monkey home page Code Monkey logo

Comments (8)

toddtreece avatar toddtreece commented on July 21, 2024

fixed by sparkfun/phant-notify-email

from phant.

MajicCat avatar MajicCat commented on July 21, 2024

Looking for more documentation on how to set up keys.. Any examples?

from phant.

toddtreece avatar toddtreece commented on July 21, 2024

On data.sparkfun.com or your own instance of phant? If it's your own instance, which manager are you using (Telnet or HTTP)?

from phant.

MajicCat avatar MajicCat commented on July 21, 2024

I am using a local server. Using Telnet for management and want to validate a HTTP for the Get Set once a stream is created.

from phant.

toddtreece avatar toddtreece commented on July 21, 2024

I'm not sure what you mean by "validate a HTTP for the Get Set". But, if you are looking for docs on HTTP input and output, try here:

http://phant.io/docs/input/http/
http://phant.io/docs/output/http/

from phant.

MajicCat avatar MajicCat commented on July 21, 2024

The create worked as per the documentation:

phant> create
Enter a title> test1
Enter a description> test data
Enter fields (comma separated)> temp,color
Enter tags (comma separated)> 
Stream created!
PUBLIC KEY: zrGp1oxz4ACmnMlGPEOEC0LV5pv
PRIVATE KEY:  9oywN8LrAKSNlOPn6xzxsDaR3Gr
DELETE KEY:  kQB1nZP4Xouje1woDOkOu5eMmDa
 

Sending

http://localhost:8082/input/zrGp1oxz4ACmnMlGPEOEC0LV5pv?private_key=9oywN8LrAKSNlOPn6xzxsDaR3Gr&temp=99

results in error 400

Sorry, I know this is basic, but there is little documentation examples...

from phant.

brennen avatar brennen commented on July 21, 2024

The reference states"When making a HTTP POST request, you should send your PRIVATE_KEY using the Phant-Private Key request header". Where is this defined?

What language are you looking to log data with? We can likely either create or point to an example.

from phant.

MajicCat avatar MajicCat commented on July 21, 2024

Got it, both fields need to be present.
http://localhost:8082/input/zrGp1oxz4ACmnMlGPEOEC0LV5pv?private_key=9oywN8LrAKSNlOPn6xzxsDaR3Gr&temp=100&color=3

that works.

from phant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.