Questions tagged [request]

A request is a message sent by a source to another object.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

When I send a message to the telegram bot it does not send me a message back

I don't think there is an error in my code. When a request comes to the server, it most likely returns 403 forbidden. (Because it returned this expression when I made a local get request.)How can I ...
Kerem Mert's user avatar
0 votes
0 answers
17 views

Scraping these website but the url not change in payload [closed]

I scraped this website but it URL not changing in the payload also kindly enter k in the search field then they will show you records CODE import requests from bs4 import BeautifulSoup import json ...
Amen Aziz's user avatar
  • 161
-1 votes
0 answers
3 views

How to send streaming response to server?

I'm developing OpenAI chatbot with MEVN stack. I've already done and only one problem is now. It is going well in Chrome browser, but not working on Firefox broswer. How can solve this problem? I ...
Tom Hart's user avatar
-3 votes
0 answers
8 views

Problem with time series execution, maybe

I am attempting to calculate a RSI indicator including its moving average. The problem is that on a 15min tradingview chart a standard RSI indicator MA calculates on the timeframe selected (here it is ...
itter's user avatar
  • 1
0 votes
0 answers
15 views

Mapping Payload issue

My Payload { "id": 2135, "name": "Krups test 43 ", "customerName": "jeweller2,Kays", "briefGivenById": 222, "...
Rishabh D's user avatar
0 votes
1 answer
28 views

I am working on a project for quant analysis and I am unable to rectify this JSON error [closed]

Error: JSONDecodeError: Expecting value: line 1 column 1 (char 0) Code: import requests from secrets import IEX_CLOUD_API_TOKEN symbol='AAPL' url=f'https://sandbox.iexapis.com/stable/stock/{symbol}/...
Jarvis_at_your_service's user avatar
-1 votes
0 answers
15 views

How to get two responses of HTML for a single request in Python with request lib

when i work with request site of html of Facebook URL. i found a bug. after a singal request of URL request to a web, it gives two step response sites. so the library "request" of python can ...
Kimhoir Na's user avatar
0 votes
0 answers
11 views

MultipartForm Request: How to make the distinction between replace or delete file on server

How can I make a distinction between replacing vs deleting a file on my server by a PUT request? Lets say I have an endpoint for updating my user. A user can have a picture and a backgroundPicture. It ...
Ahmet K's user avatar
  • 713
3 votes
1 answer
22 views

Call requests in order react-native

I'm currently working on a class project to develop a chat app using React Native (Expo project). I've encountered an issue where, in a component, I need to make two requests: the first one is ...
Baubau Tran's user avatar
-1 votes
0 answers
35 views

How to fix AWS Cognito Request Timeout on ECS?

Getting a timeout error when using AWS Cognito to authenticate inside a NestJS application. The problem only occurs when the application is hosted, and not locally (tested and locally works). Also, ...
Felipe S. Fernandes's user avatar
0 votes
0 answers
35 views

Handling multiple Requests and return just one

I get multiple POST requests from frontend app in chunks. For example one chunk can store 5 files, and if frontend app is sending 10 files to me it means it sends 2 chunks of files == 2 requests. I ...
Tommy's user avatar
  • 11
0 votes
1 answer
15 views

ktor - make a post request with different naming of the keys of the JSON in kotlin and django

I want to make a post request with different naming of the JSON keys in Ktor and django. It is not a big deal but I want to follow the convention of naming the vals in Kotlin and django. This is how ...
Geo's user avatar
  • 23
-2 votes
0 answers
30 views

What's refer "the payload in the request body "?

I'm trying to implement the signature verification of SendGrid for a webhook. I don't understand a part of the code. There is a part where I need to capture a payload, but I don't understand how to ...
David Salvador Martinez's user avatar
-3 votes
2 answers
27 views

Retry Request When Its Failed

I Programmed this code to get website content but there is a problem when connection is filed the program stop and dont try to reconnect url= 'https://website.com' def ...
qvws's user avatar
  • 1
0 votes
1 answer
16 views

when use fetch function laravel api with nuxt3 error 500 internal server error?

i tried all of things and saw a lot of problems, then i solved the problem of sanctum with (scrf-cookie) request and i got the cookie work... with env laravel file i tried all of cases with it, then ...
Abdelrhman Qouay's user avatar
0 votes
0 answers
6 views

Save button works fine in browser but can not save data to database

I am trying to create a save button that saves the task in a task list. After the data was saved, a request will be sent to the server that will enter the task into the database. The data the user ...
KBNick's user avatar
  • 1
0 votes
0 answers
18 views

Cannot aggregate multiple requests from the same microservice using Ocelot

I'm trying to aggregate two requests from the same microservice using Ocelot, but it seems to not be working (when I'm calling the aggregate request route the response is 404). I'm not even sure ...
gabriel neagu's user avatar
0 votes
1 answer
36 views

How to solve "MemoryError" when download dataset by kaggle?

I want to download dataset from kaggle, however when I run it on my local machine, it crashed, and this is my code: api = kaggle.KaggleApi(json_str) api.authenticate() api.datasets_download(...
forestbat's user avatar
  • 449
1 vote
1 answer
25 views

Change origin name in Axios post request in Next js

I want to change origin name like bookshop.webmanza.com in axios request header. I pass my code this way like, const customOrigin = "bookshop.webmanza.com"; export const http = Axios.create(...
Tanvir Ahammad Chy's user avatar
1 vote
2 answers
18 views

ExpressJs dynamic routing not working properly with react get request

I have a simple api and client application. Api written with express js and client-side is react. I arranged the react dynamic routing but when I try to send get request to endpoint with dynamic path, ...
Burak's user avatar
  • 21
0 votes
1 answer
38 views

Fail to serialize body, when trying to send a post request with kotlin ktor to django rest API

I'm getting the following error, when I try to make a post request to my django rest API with ktor Error: Fail to serialize body. Content has type: class com.example.watchwithmemobile.domain.dto.user....
Geo's user avatar
  • 23
0 votes
0 answers
3 views

How to increase the time to execute a request to server?

I need to create jasper report on server in html and paste it in iframe on my front. But this request is not fast, it took around 2-4 min depending on filters. In Chrome limits set 2 minutes, after 2 ...
Patrik Lovkach's user avatar
0 votes
1 answer
31 views

I don't get the latest video from a Channel with Youtube API

I am new to coding with the Youtube API. When I run my code, it doesn't always give me the latest video from my selected Channel (the target video was uploaded on: 03-Sep-2023). Example of code that I'...
themasterteam's user avatar
0 votes
0 answers
18 views

GET WooCommerce customers based on "date_modified"

I am looking to GET all WooCommerce customers that have created or modified their profile since last request using the WooCommerce REST API. I know that "date_modified" is not a parameter ...
khejduk's user avatar
  • 309
-1 votes
0 answers
10 views

telegram bot with Wikipedia parser error request too long

Sometimes the code gives a 400 error, what is the reason for this? I tried to make Wikipedia in pyTelegramBotAPI. A person entered a query and was given an article. But sometimes an error occurs ...
Kripersi 's user avatar
1 vote
2 answers
37 views

Troubleshooting "POST http://127.0.0.1:3000/predict 404 (Not Found)" Error When Implementing a Chatbot

I'm currently working on a web application that incorporates a chatbot feature. While developing, I've encountered a perplexing error related to the interaction between my frontend and backend ...
Paris Vanuya's user avatar
0 votes
0 answers
15 views

How to make a http request to read a github raw? (With batch) [closed]

I'm making a updater in batch and idk how to make a http request to read a github raw. I need the http request to find the latest version of the script save to a variable and compare to the script in ...
luizdodibbre's user avatar
1 vote
0 answers
20 views

Forbid user to access bills/:smthId of another user Node.js authentication passport

Is there any other approach to forbid user to call bills/:smthId and retrieve the data except passing the user id to the service which is handling the route behaviour? I have two roles USER and ADMIN. ...
Denis Truhlaz's user avatar
0 votes
1 answer
20 views

how to calculate a difference in a value between two documents

I use Elasticseach to store water consumption data. I receive a new document every hour, with a cumulative consumption value. example: 20230914 00h00; consumption=100 20230914 01h00; consumption=120 ...
Jeff Carabin's user avatar
-2 votes
0 answers
20 views

print request when the result is an error [closed]

I have data where when the data produces an ERROR, the VS Code terminal will print a request, so what is the program to print the request?
aliarifani safitri's user avatar
0 votes
0 answers
58 views

SSL: Certificate_verify_failed ssl.c:1088 [closed]

I need help. I keep getting SSL errors, I added the certificates, I added the passwords to my code, I formatted them in .pem, but it didn't work. I bought it as .pfx format but it didn't work and it ...
Nakres's user avatar
  • 1
-1 votes
0 answers
18 views

Handle request to database layer in Java

Please help me with this question: In a situation where I make a request to the database layer team and encounter issues like networking problems, what should I do? How can I detect if the request has ...
Thanh Phạm's user avatar
0 votes
0 answers
28 views

Flutter dio gives me error first, but then when I click continue everything works

I have been trying really long with this. First I thought it was my local server that has some error, but now when I tested with some better know API I get the same error. here is the code I'm testing ...
T. Tim's user avatar
  • 43
-1 votes
0 answers
18 views

connection error when I run my code in other ec2

When I run this code in local machine, it worked but when I run it on linux os on EC2, I got an error "Caused by NewConnectionError('urllib3.connection.HTTPSConnection object at 0x7fa8049b0c50>...
Jeniffer Dongha Lee's user avatar
0 votes
0 answers
25 views

Chat GPT API incomplete response React.js

I'm implementing a chat for my web app and I'm not getting the complete response of chat gpt in some cases. When the prompt is about giving a list it doesn't work correctly, for example if I ask for ...
La Bola Al Riel's user avatar
0 votes
0 answers
23 views

Filter using query string is not working in sveltekit. How to solve this?

I used sveltekit, and I implemented a filter which has selectbox with input and searchBtn. Here is button event: async function handleSearchEvent( event: CustomEvent<{ role: string; category: ...
Jay0813's user avatar
  • 49
0 votes
0 answers
9 views

How to get the 'Request URL' from http header with python

enter image description here I would like to scrape a website specially for the Request URL: in the General header. Unsure of what is need in python to capture this data. import requests from selenium....
pb88lf's user avatar
  • 1
0 votes
1 answer
27 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 ...
Avinash's user avatar
  • 273
-1 votes
0 answers
43 views

How to download a file use by an inteface

Rrecondition: I have a UrL:https://test.com/file/file_id and by accessing this request I will get some the file content in binary in the request.text - question-01:How do I get the name and type of ...
May's user avatar
  • 1
0 votes
0 answers
30 views

Adding cookie to request in kotlin ktor client

To include a cookie in a request using Ktor, you can use public fun HttpMessageBuilder.cookie(...) function, as mentioned in the documentation here. However, this function does not directly accept a ...
Alex_Kozm's user avatar
0 votes
1 answer
21 views

wordpress "rest_upload_no_data, No data provided."

I using wordpress api for upload image (png) using this code data, err := ioutil.ReadFile(inFilePath) if err != nil { return err } createMediaReq.Body = ioutil.NopCloser(strings....
İkram MERT's user avatar
0 votes
1 answer
36 views

Springboot ReqeustBody input Validation for HTML elements

I am looking for a way to validate Request body fields for HTML content in my Springboot application as below { "name": "<img src=x onerror=alert(1)>", "value&...
remya thekkuvettil's user avatar
0 votes
0 answers
22 views

Request gets aborted

i am using nodejs and requesting a file to download using request module . On piping response the operation gets aborted due econnreset exception message. Attached code async function ...
arjun singh's user avatar
0 votes
1 answer
15 views

RSpec Request spec setup issue

I have the following spec: it "allows a valid request" do user = create :user headers = {"Authorization" => "Bearer #{user.api_token}"} get "/api/v1/user&...
Neil Middleton's user avatar
0 votes
0 answers
23 views

pd.read_excel won't read 100% valid excel file by link

I'm creating Telegram Bot that must download file from DropBox, read it, format it into text and send it to a user. First take a look at functions/read_file.py import requests import pandas as pd ...
Kushnierov Sviatoslav's user avatar
0 votes
1 answer
19 views

how to add price with decimal points in postman automation

how to add a price in the postman automation request body. should pass the value with two decimal points price=5.77 Is this the correct way? Following is the request body or postman automation. { &...
Erandi Dilshani's user avatar
0 votes
0 answers
19 views

Open default web browser and read requests being sent

so I'm trying to create an python program that can basically send api requests to the site that we use to manage homework in my school. The problem with this site is that it not only logs you out ...
Sam's user avatar
  • 1
0 votes
0 answers
13 views

Netflix Authorization Request

I need to make a POST request to authorize on Netflix. I tried to find something similar in the network tab in chrome developer tools, but I can't find anything, it's like the request didn't exist. ...
podoshva's user avatar
0 votes
2 answers
32 views

Axios get request how to cancel the request

I am working on creating a hook that makes an API request to fetch statistics. However, when you navigate through the months, it hasn't yet retrieved the data from the previous request, and it starts ...
Gurdt's user avatar
  • 181
0 votes
0 answers
36 views

WPF WebView2 - Cannot set "referer" header

I'm trying to automate logging in to a website by posting the username and password throug a request. But i get an error from the website: { "detail": "CSRF Failed: Referer checking ...
Bassie's user avatar
  • 3

1
2 3 4 5
349