Coder Social home page Coder Social logo

path_variable_handlers's Introduction

Path Variable Handlers Build Status

This is a library for handling paths. Many RESTful APIs contain resources that have variables in their paths (e.g., /things/:thing_id). This library exposes a way to process such resource paths in a low-effort way.

While this is mostly useful for REST APIs, it could also be used, for example, to process MQTT topics containing wildcards.

There is nothing platform-specific about this library.

Examples

Examples are found in the ./examples directory. This is the easiest way to get started.

Development

Run tests with:

platformio test

Build examples with, for instance:

platformio ci --board=d1_mini --lib=. examples/simple

New Release

  1. Update version in library.properties and library.json.
  2. Create a new tag with the corresponding version and push.

path_variable_handlers's People

Contributors

per1234 avatar sidoh avatar

Stargazers

 avatar

Watchers

 avatar  avatar

path_variable_handlers's Issues

Simple.ino example error

Params in UrlTokenBindings bindings(itr1, itr2); are swapped and the example does not run as expected. Should be UrlTokenBindings bindings(itr2, itr1);

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.