Questions tagged [flask-restplus]

Flask-RESTPlus is an extension for Flask that adds support for quickly building REST APIs documented with Swagger

Flask-RestPlus provide syntaxic suger, helpers and automatically generated Swagger documentation on top of Flask-Restful. It provides a bunch of decorators and helpers to quickly build documented and maintainable APIs with Flask.

Website: https://flask-restplus.readthedocs.io/

334 questions
-1
votes
1 answer

Flask-Restplus how to combine data from 2 table into single data response?

I am using Flask-Restplus and SQLAlchemy to develop my API. I want to return a response with information from two SQAlchemy objects, a user and a device, with a 1:1 relationship between them. I have a query that looks like this: details =…
ken
  • 1,406
  • 2
  • 25
  • 63
-1
votes
1 answer

Python threading script execution in Flask Backend

Currently i'm trying to use proper threading to execute a bunch of scripts. They are sorted like that: Main Thread (Runs the Flask app) -Analysis Thread (Runs the analysis script which invokes all needed scripts) -3 different functions…
-2
votes
1 answer

Unable to access endpoint on flask api

I am trying to build an api with flask and flask-restplus, it seems fine with no errors. When I launch the server, it look fine like this but whatever the uri, I try to test, it displays requested URL was not found on the server and do know how to…
Steve Ruben
  • 986
  • 9
  • 16
-2
votes
1 answer

why am I getting "Failed to decode JSON object: No JSON object could be decoded" error?

I have written this code below: @url_api.route("/add") class AddIPvFour(Resource): """ this class contains functions to add new url. """ def post(self): """ Add a new URL map to IP or update exisitng. …
Ciasto piekarz
  • 6,378
  • 11
  • 59
  • 149
1 2 3
22
23