Git Product home page Git Product logo

particle-connect's Introduction

Particle-Connect

Join the chat at https://gitter.im//particle-connect/Lobby

POST and GET requests through particle photon without using Particle Cloud functions.

Guide

  • Connect Particle photon to the cloud.
  • Open Particle WebIDE
  • Paste the Particle-Connect code
  • if you face a error with importing the libraries delete import statements
    #include "application.h"
    #include "HttpClient/HttpClient.h"
  • include libraries by Libraries >> {Library Name} >> include in App
    request.hostname = "yourhost.com";
    request.port = 80;
    request.path = "/yourc/path";
  • Replace hostname , port , path with yours server details.
     request.body = "json : sample" ;
  • Replace json:sample with Variable values , that needed to be transmitted to the server. Eg :
     String str =  "temperature: " + temperatureReading ;
     request.body = str ;

Libraries

  • HTTPClient for SparkCore.

Contributing

We love our contributors! If you'd like to contribute to the project, feel free to submit a PR. But please keep in mind the following guidelines:

Propose your changes before you start working on a PR. You can reach us by submitting a Github issue. This is just to make sure that no one else is working on the same change, and to figure out the best way to solve the issue. If you're out of ideas, but still want to contribute, help us in solving Github issues already verified. Contributions are not just PRs! We'd be grateful for having you, and if you could provide some support for new comers, that be great! You can also do that by answering this plugin related questions on Stackoverflow. You can also contribute by writing. Feel free to let us know if you want to publish a useful guides, improve the documentation (attributed to you, thank you!) that you feel will help the community.

License

MIT

particle-connect's People

Contributors

charithw avatar charithsoori avatar chamathpali avatar harshanas avatar lakindu95 avatar rehrumesh avatar sachithp avatar sachithperera avatar

Watchers

James Cloos avatar

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.