Coder Social home page Coder Social logo

abobija / api32 Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 7.0 82 KB

:globe_with_meridians: HTTP Server and JSON REST framework in one. This is Lua library for simple way of creating JSON APIs for ESP32

Home Page: https://bit.ly/2V8BgH9

License: MIT License

Lua 100.00%
esp32 api-service http http-server

api32's Introduction

I'm Alija.

Here you'll find exciting projects on electronics, home automation, the auto industry, software CI/CD, solution architecture, and more. I also maintain a YouTube channel where I create detailed videos for each project.

YouTube Channel Subscribers

For more about me and to get in touch, visit abobija.com

api32's People

Contributors

abobija avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

api32's Issues

Access to XMLHttpRequest at 'http://192.168.0.10/' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Hi @abobija Thank you for great work, I'm using esp32 in Access point mode, esp32 as a local server. I can able to do http get and post with browser/postman successfully. With andriod app I've this issue, can't able to receive the response sent by the esp32 in the mobile app and giving below error in the app
"Access to XMLHttpRequest at 'http://192.168.0.10/' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource",asking about cors headers.
But with mobile app can able to post data and esp32 receiving, only response from esp32 is the issue, but esp32 is sending I tested with browser and postman both are receiving the response and working I don't know how to overcome this issue please help me so that can finish my project early.

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.