Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

NextJs router to match Forms

I have a basic app that posts an object to the back end. Frontend is nextjs and backend is django, thus backend does not matter for this question I am sticking to crud/rest as much as I can. My ...
Evren Bingøl's user avatar
0 votes
2 answers
33 views

Ignoring request for not matching predefined routes

I have some Sanic Python app code where following routes are defined: def create_inspector(app): inspector = Sanic(configure_logging=False) inspector.config['KEEP_ALIVE'] = False ...
vector8188's user avatar
  • 1,343
0 votes
0 answers
11 views

How to validate same name category creation that already exits in database while creating crud REST API?

I am creating CRUD API for category and products, each category may have many products, but I want to validate that if for example category name "Grocery", I already added (exist in database)...
Ashar Ul Haq's user avatar
0 votes
1 answer
37 views

ListView builder with data from API

i have data from API that contains 400++K data, when I search some data, it works but only shows the data that is on page 1this API contain 10 data per page this is my controller, i want to search ...
Keroppiiiii's user avatar
0 votes
0 answers
30 views

Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda

Is there a way to pass query parameter the the last-n endpoint and how do i make it to work in AWS lambda Below is my code for reference: import os import smtplib import uvicorn from fastapi import ...
Raj Praveen Pradhan's user avatar
0 votes
0 answers
73 views

How to make the routing on a REST API?

I'm trying to handle a route in a MVC CRUD PHP API by adding it to the URI from an index.php : <?php echo("<form method='POST' action='router.php/users' enctype='multipart/form-data'> ...
camtard's user avatar
0 votes
0 answers
51 views

Unit test error: > echo "Error: no test specified" && exit 1

I am writing a unit test for the API crud functionality but I kept getting this error: " > echo "Error: no test specified" && exit 1":, I have checked everything ...
jean's user avatar
  • 1
-2 votes
1 answer
257 views

Why does the 4th argument in my express middleware function only break it in certain conditions?

I am new to node/express and came across something strange to me. If I include a 4th "value" parameter on certain middleware functions, they wont work, while others do. I've read adding a ...
Brenden Baio's user avatar
0 votes
0 answers
41 views

Is there a Node.js/Express.js library/framework for quick CRUD API setup like Django REST Framework?

I am currently working on a project in Node.js with Express.js, and I'm looking for a library or framework that can streamline the process of creating REST API endpoints for CRUD operations on my ...
Sulejman's user avatar
0 votes
0 answers
78 views

ERPNext | RestAPI | Cancel Endpoint

How can I cancel someone's attendance on ERPNext using RestAPI? I checked the documentation on ERPNext but it did not have anything on this. I also tried updating the attendance using the CRUD ...
MD Rameez's user avatar
0 votes
1 answer
54 views

Svelte interface not refreshing after data change

api_calls.js // READ export const getData = async (getPath) => { var response = await fetch(getPath, { method: 'GET' } ); let result = await response.json()...
simonslaw's user avatar
0 votes
2 answers
109 views

What Request OAuth2 parameters used for accessing Public RESTServer app on Azure

I am trying to get my RESTClient's CRUD Requests to work after retrieving the access-token from Azure but I don't know what parameters need to be added and I cannot find examples of the syntax that ...
Mike V's user avatar
  • 444
1 vote
0 answers
65 views

Cannot read json into json to struct

I reading put request to struct I have a product struct where exist the specifications struct. And i cannot read in this request: ` { "id": "4de5951b-c7ef-462b-83af-6402cc3c0beb&...
Photonik's user avatar
2 votes
1 answer
291 views

Additional "id" field generated when posting into MongoDB

I'm learning Go and Gin framework. I built a simple microservice connected to a MongoDB collection, everything works but when I add a document using a POST it adds the "id" field instead of ...
user avatar
0 votes
0 answers
67 views

RESTful api for database management

I have a restful api pet project and I thought I could make it better for others to use. I'm not entirely sure about the applicability of such api but the question is whether it is supposed to manage ...
Jan Safronov's user avatar

15 30 50 per page
1
2 3 4 5
17