Questions tagged [response]
A response is a general term for a message which is sent as an answer for previously made request.
5,884
questions
0
votes
1
answer
14
views
Unexpected server response Server Environment Check Error in TYPO3 ver12.4.1
I tried to check if the Server Environment passes the internal TYPO3 test after fresh installation of the New v.12.4.1 of the TYPO3 CMS system. SO, in the Backend Admin Panel I go to the "...
0
votes
0
answers
7
views
Why is my EasyDataTable returning [object Object] when trying to display API response with VueJS?
How do I push data areaMap to header value in EasyDataTable in VueJS?
I get areaMap data from response API
const account = response.data.data
this.listAcc = account
console.log(this.listAcc)
const ...
0
votes
1
answer
14
views
How can I detect if an incoming HTTP request is a redirect in Flask web application?
I am currently working on a Flask web application and currently am trying to add a custom conditional to my home route to perform different behavior if an incoming request is coming from a redirect.
...
-1
votes
0
answers
6
views
Store responses from the API in an array so that I can use them later offline [closed]
Store responses from the API in an array so that I can use them later offline.
This is how I'm trying to save responses:
I am trying to store responses from the API in an array so that I can use them ...
0
votes
1
answer
14
views
How to modify response headers without using a third party app
I want to make a simple fetch request to siteA from siteB, but I am blocked by CORS policy.
fetch(siteA, {
credentials: "include",
headers: {
'Access-Control-Allow-Origin': ...
0
votes
1
answer
38
views
I am in need to log time taken by a AJAX API call in details like below
I am in need to log time taken by a AJAX API call in details like below.
I want to log all timing in separate console.log, is there any way we can achieve this?
something like this
console.log(Started)...
2
votes
0
answers
29
views
Why does response.json() work on my PC but not on my Raspberry Pi?
I'm trying to use the Raspberry Pi to get data from a json file. It works fine if i run the script on my pc, but at the Raspberry i get these Errors:
Code:
import requests
headers = {
&...
0
votes
0
answers
20
views
Restsharp Picnob Response as forbidden
I am trying to download html from website picnob.com, When I request using POSTMAN it gives full html. But when I do same with my c# code it gives "forbidden" error.
Below is postman code ...
0
votes
1
answer
12
views
Why am I getting status:undefined from Chargebee API method validateVat?
I'm trying to user their VAT validation method with their script, but even when running their example I'm getting the same response:
https://www.chargebee.com/checkout-portal-docs/eu-vat-validation-...
0
votes
0
answers
26
views
chrome.tabs.sendMessage response not received immediately
I aim to scrape chats from chatGPT using a Chrome extension. On the link update, I am sending a message to the content script to read the data. Content-writer responds after reading data using the ...
0
votes
1
answer
18
views
ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
i have a column in a Dataframe called url. i'm trying to send a request to these servers and get the element of the content. The problem occours when i run my script and ALWAYS with the 7th request. ...
0
votes
0
answers
10
views
express response hangs when i use a middleware to stop multer upload of large files
im facing a porblem for a middleware to stop large files uploads before the multer function run , im testing with 2 gb file
the route function :
router.post('/upload_files' , sec_check , ...
0
votes
0
answers
13
views
http response in a plane txt format
I was validating an API's data. I'm going through the a HTTP response and I was expecting something in json or XML or traditional format but I'm receiving something like this:
---------------------...
-2
votes
1
answer
54
views
How does Angular respond with a dynamic and raw JSON object?
If a JSON file is put under assets, calling something like http://localhost:4200/myapp.com/assets/hello.json will retrieve the JSON file as is, without the GUI. That means Angular should know how to ...
0
votes
0
answers
64
views
POST not posting correctly
Using Swift here.
I can't for the life of me, figure out why I can't get a proper response code back from my POST function. Any tips on figuring out why this isn't working?
I checked the resource URL ...
0
votes
0
answers
14
views
Are there more cost efficient ways to measure API response times from different locations?
I'm trying to find a server closest to a site. To check I get one of their APIs and check how long it takes for the API to respond. I am not the owner of the API and the site uses Cloudflare so ...
0
votes
0
answers
28
views
Create RSA public key from JSON response
I need join response data to RSA public key in PEM format
I receive a response with JWS and in the second query the RSA key to verify them. The key data is split. How to combine them so that you can ...
0
votes
1
answer
13
views
How can I get the value on a position from a JSON Response on Android Studio?
I want to get the value of a specific object from this response, but I still don't understand at all the rules of the hierarchy.
The values I want are :
"F0092_AN8": 258523
and
"...
-3
votes
0
answers
21
views
FastAPI behaving little strange when I hit the API multiple times. Could you help me to resolve it?
we are using FAST API to develop the APIs. we deployed server in the host. few APIs are behaving strange. For example the API has to return id,name,salary parameters in the response. When I hit that ...
0
votes
0
answers
28
views
HTTP GET Request and Response
I'm trying to request some data from a webpage I have, through a HTTP GET request.
I only want the response to return certain data. Lets say I pass "apple" as a URL parameter, then I want ...
0
votes
0
answers
23
views
how to return a multiple objects [duplicate]
below i mentioned is my Restcontroller class
i want to return a multiple object , how to do?
// Saving the Data
@PostMapping("/buyContractRequest")
public ResponseEntity<Contract&...
0
votes
1
answer
41
views
Django 4, how can I download a generated CSV file to browser while passing additional context to template?
In views.py, I have a view that displays invoice information to the user, and a button for creating a batch payment file. When the button is clicked, a CSV template file is read, and a new CSV is ...
0
votes
0
answers
7
views
How to send input string to NCR Aloha POS?
So, I'm trying to send an input to POS through C# Console Application. I need to be able to read the input and respond.
I tried this code from the internet. But haven't had any luck. The SendString ...
0
votes
0
answers
17
views
How to use HTTP Interceptor to retrieve HTTP Header values
i'm trying to utilize an HTTP Interceptor to retrieve HTTP Header value that will be used for authentication purposes. Our application sits behind a F5 and access policy rules force the user to ...
1
vote
1
answer
28
views
Not able to see response elements in watson assistant using custom extension
I am facing same problem as
"https://stackoverflow.com/questions/76126165/ibm-watson-assistant-custom-extension-variable-assignments" asked a fortnight before.
I am getting a complete json ...
0
votes
2
answers
63
views
variable in openapi 3.0 response schema
I have a legacy REST endpoint, which I would like to adress using openapi 3.0.
The Endpoint uses a path variable:
path: action/{action}s/
and also uses this path variable in the response schema like:
...
0
votes
0
answers
27
views
How to show the progress in the percentage of getting a Response in Retrofit?
Occasionally getting the Response in JSON format can take a few minutes because the JSON can have multiple objects in it.
My goal is to show the progress of getting the Response.
For this purpose I ...
0
votes
0
answers
14
views
How to remove key from response which is getting appended?
I need to remove soAttribute in this Json response:
"soidentifiers": {"soAttribute": [{"name": "DPID","value": "397400032488"}]
0
votes
1
answer
13
views
Axios - how to get value from nth object
I have a response like below:
response =
[
{
"location":{
some data
},
"library":[
{
"id": 1234,
"name": "CCT&...
0
votes
1
answer
44
views
Incorrect date and time is showing in SAML response
I need advisory support on my issue with registered application on AAD. When we registered the app with AAD for SSO using SAML it was working fine initially. But now it throws error whenever we tried ...
0
votes
0
answers
41
views
Get rid of "Caught an unhandled exception:" in exception response
I have some logic in code to throw an error if something happen like this:
if(somethingHappned) {
throw new IllegalArgumentException("Message for FE!");
}
and this is response from ...
0
votes
0
answers
16
views
The Ajax element response is not accessible / undefined but it exists
I have this return of an ajax call:
$.ajax({
type: "POST",
url: urlAPI,
data: body,
success: function (result) {
..................
}
The result is:
{
"statusCode":200,
"...
0
votes
1
answer
81
views
Flask render_template does not update the page
I am trying to upload a file, make some calculations to generate an image and then to display it. I came up with the following, but the page does not refresh after the redirect. Even though I get the ...
0
votes
1
answer
33
views
JSONObject Request does not get called frequently Android
I have a JSONObjectRequest that wont get called everytime. So there will be no response. I also have another JSONObjectRequest that will always be called. Sometimes i change the code in the ...
0
votes
0
answers
22
views
stacFastApi pgstac problem or condition in search
When I try to do a search with query in search API it gives me error
stac-fastapi
http://127.0.0.1:8080/search/
{
"code": "RequestValidationError",
"description":...
0
votes
0
answers
11
views
Add condition on contact form 7 auto response
i want to set if anyone select EV Car Solutions then the auto response will work. but somehow the code isn't working.
add_action( 'wpcf7_mail_sent', 'contact_form_autoresponders' );
function ...
0
votes
0
answers
31
views
httpcookie response header domain attribute returning "too many re-directs"
As per https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
I have set in IIS web.conf the following:
httpCookies domain="FQDN" httpOnlyCookies="true" requireSSL="true&...
0
votes
0
answers
32
views
PGStac stac-fastapi Does not return number matched SEARCH API
I ran stacfast-api and pgstac in a docker.
I loaded test collections by running the following commands:
pypgstac load collections ../pgstac/tests/testdata/collections.ndjson
pypgstac load items ../...
0
votes
0
answers
36
views
Symfony 6.2 api response return empty data
I have custom authenticator for API requests and when i was try do any request i got empty data in response.
security.yaml
security:
# https://symfony.com/doc/current/security.html#registering-the-...
0
votes
0
answers
8
views
My API keeps loading after sending data to the database and ignores my return responses -NESTJs
SwaggerApi
After sending data to my database, swagger keeps on loading in NESTJs. My responses are completely Ignored.
The "IClientInterface" contains the feedback.
Controller for the POST ...
0
votes
1
answer
33
views
An url gets redirected from browser, but not with fetch
I want to detect if an url redirects to another one, and if so, get the url of redirected website. Lets get https://eu.gymshark.com as an example.
When I go to that link on my browser, it redirects to ...
0
votes
1
answer
278
views
using openai to call openai.Completion.create the response is shorter than what chatgpt returns
I have a paid account for chatgpt and using the latest 4 version, when I ask it to answer a question it send back a response that is like 4k characters. When I use the api for same question, I get ...
0
votes
2
answers
16
views
post not recieving response from node express - node newbe
I have an Axios post function that I am using to post multipart form data to a Node.js Express endpoint using Multiparty to process the input fields.
The endpoint receives the data and inserts it in ...
0
votes
1
answer
19
views
Extracting JSON response and putting them inside a customize JSON
Hi can anyone help me how to simulate this scenario. Thank you so much in advance and your response is highly appreciated.
Example I have this response below
[{
"agentid": "...
0
votes
1
answer
63
views
Adding content from API response to new image uploads
I'm trying to use the Astica API to get content for my new attachment uploads. While I have no problem using the API outside WordPress, I can't seem to get it working inside WordPress.
Intend:
...
0
votes
0
answers
18
views
GetResponse -- returns response.Status strings instead of HttpStatusCodes
I coded up a Restsharp call to Bitly's APIs and it worked. I received back the numbered HTTP StatusCode in the 200, 300, 400, and 500 ranges.
Now that switched over to using the BitlyAPI Nuget ...
0
votes
0
answers
37
views
Code test data for HttpMessageHandler(passed via HttpClient) for a mock unit testing of GraphQL Proxy Adapter System Under Test (SUT) code
Here is info about our technical development environment :
• .NET 6
• C# 10
• Hasura GraphQL v2.6.2-pro.1
• PostgreSQL 14.2, compiled by Visual C++ build 1914, 64-bit
• ...
-1
votes
1
answer
70
views
laravel notification queue response: "Recipient address rejected: User unknown in virtual mailbox table"
When I send a notification with Laravel 9, sometimes I get the response:
Expected response code "250/251/252" but got code "550", with message "550 5.1.1 <test@...
0
votes
1
answer
76
views
NextJS serves JSON as response and not html
I have built a blog site using NextJS. The blog has more content so it is not possible to use GetStaticProps and generate static pages during build time.
I have tried using GetServerSideProps and also ...
0
votes
0
answers
28
views
chainlink contract doesn't call the fulfill() function that received after the response
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@chainlink/contracts/src/v0.8/ChainlinkClient.sol";
import "@chainlink/contracts/src/v0.8/ConfirmedOwner.sol";
...