All Questions
742
questions
0
votes
1
answer
27
views
Heroku node.js backend not working the same way with React frontend in the same way as local despite Procfile
I have a React website with a Node.js backend that is deployed to Heroku through my GitHub account. The React website frontend sends contact form requests back to the Node.js backend server, which ...
0
votes
1
answer
71
views
Amazon Selling Partner Next Page Get Orders API request
When I try to get Amazon Selling Partner orders and there are more than 100 orders, I only receive 100 orders. How can I get the next page of orders?
I need to check the Amazon Selling Partner ...
1
vote
2
answers
43
views
how to pass json array in params to get rest api in nodejs
I have one GET API which is having array in the input.
I want to call that API through in my node.js project.
I have tried many options but none worked.
This is my REST Request.
let request = await ...
0
votes
0
answers
28
views
How do I filter out a value returned from a GET method?
In my backend, I have a method that retrieves a list of reasons that I create in the admin application. With those reasons created, in my client application I can select the reason for void.
The ...
0
votes
0
answers
63
views
API Request not sending properly
I am trying to make an API request from my Swift app to fetch the carpools a user is in based on their userid. I have a table in my database called user_carpools with columns firebase_user_id and ...
0
votes
0
answers
209
views
Postman: 'Exceeded maxRedirects' error while trying to GET request Chrome Web Store Item
In Postman, when attempting to send a GET request to: https://chromewebstore.google.com/detail/nlloamlgdioincflcopfgkbikjgaiihg
I get:
Error: Exceeded maxRedirects. Probably stuck in a redirect loop ...
0
votes
1
answer
34
views
Nodejs: CORS for POST works, GET does NOT
I'm trying to fetch the contents of a file "xxx.html" from my nodejs/express server.
But whenever I try to get the file with Javascript fetch:
const response = await fetch(url);
const data = ...
0
votes
0
answers
12
views
ExpressJS backend to external server GET request fails on server deployment works fine on localhost
In my backend express js code I am trying to get information from another server and pass it along to the party that requested it. I have tried to use node-fetch axios http https. I have logged the ...
0
votes
1
answer
36
views
Get request works with postman/browser but not with code
I've developed a code that fetches stock data from the NASDAQ API. This script used to work perfectly, but one day it suddenly stopped working, and I'm consistently receiving a timeout error from the ...
0
votes
1
answer
95
views
Not able to process [GET] response in swagger ui
Other than GET all APIs work seamlessly. The problem i am not able to figure out please help me in getting this through.
/**
* @swagger
* /admin/get_all_languages:
* ...
0
votes
0
answers
17
views
Error while using "en-dictionary" and "en-wordnet" library
import {Word} from '../models/word.js';
import wordnet from "en-wordnet";
import Dictionary from 'en-dictionary';
export const checkingWork = (req,res) => {
res.status(200).json({
...
0
votes
1
answer
20
views
Error no photo data when uploading a photo from react js to mongodb
When i upload an image to my website it sends the image to the backend to upload the image to mongodb database, I upload the base64 of the image to the database but the problem is that sometime the ...
0
votes
1
answer
40
views
Validator failing for not defined param
I am using Validator to validate the http request with a defined rule. I have added one rule for GET requests that checks the value of the mode in the input parameter.mode is not a required input ...
0
votes
2
answers
434
views
Exception has occurred. _ClientSocketException (ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111)
My products.dart in models folder is :
class Products {
final String? id;
final String? createdAt;
final String? price;
final String? name;
final String? description;
final String? color;
...
0
votes
1
answer
108
views
POST requests with Nodejs (Cannot set headers after they are sent to the client js)
I'll tell you my problem, some time ago I started a project using the whatsapp api in principle it was going to be just a bot, but I decided to extend it and make a frontend that in addition to having ...