All Questions
Tagged with get javascript
2,512
questions
-1
votes
0
answers
19
views
Return $.get data to main scope [duplicate]
I am trying to use the variables that I set within my $.get function outside of the function itself.
Here is the $.get:
$.get("process/getTotalSales.php", function (data) {
var obj = JSON....
0
votes
0
answers
29
views
NextJS POST requests with fetch or axios are switched to GET in production
I have a project using the following technologies:
NextJS
Django as a RESTful API
Locally, when running the project, everything works fine. The POST requests from the NextJS server-side are running ...
-1
votes
1
answer
36
views
How to get SSID in react js
I want to try to get the SSID of the WiFi that is currently connected, how do I do it in React JS, has anyone tried it? But in this case, there is no API or Back end that provides get data
Can get the ...
0
votes
0
answers
29
views
Javascript / Ajax Get Request Seems to Stop Code or Form Post Request
I have a web page that is utilizing ajax to have my backend Python code calculate some values via GET and return them to javascript for html form display (getrate function) upon a button click. This ...
0
votes
0
answers
23
views
Setting variables based on screen title, is it possible? (using javascript via code.org for a project)
I have an app on code.org that uses multiple screens, and for the buttons that I use to navigate them, I find myself writing the same onEvent, only different each time.
The first would go as follows:
...
-1
votes
1
answer
180
views
How to convert GET request To POST request when using fetch() [duplicate]
I am currently trying to convert my old, insecure, short GET requests to a more secure POST request. I am not sure how to do it.
function fetchData() {
return fetch(`dataProcessing?action=...
0
votes
0
answers
22
views
Cant change date range for loading data via js dev tools
There is web page with exchange historical data: https://www.investing.com/indices/volatility-s-p-500-historical-data
Page contains dates-filter (range) and apply button (need to click on dates-range):...
0
votes
1
answer
49
views
Web-scraping: GET request returns a string - how can I read/process it in R?
I'm sending a GET request to an governmental page in India with the following URL:
https://pmfby.gov.in/landingPage/districtState?stateID=2F3DE245-46E6-4C4D-9297-C0B23C803B15&sssyID=02012223
What ...
0
votes
0
answers
15
views
Inline Javascript code not executed when JSP page crawled by Google bot
I have a JSP page p.jsp that contains an inline call to a Javascript function f():
<html>
<body>
<script type="text/javascript">
my_namespace.f();
</...
-1
votes
1
answer
43
views
GET http://127.0.0.1:5500/dataFood 404 (Not Found) trying to print my sql data into my html
my problem is im trying to connect to mysql and im using express.js server and the problem is this GET http://127.0.0.1:5500/dataFood 404 (Not Found) .
I have 2 codes the client side and the server ...
0
votes
1
answer
44
views
Send client to cloudinary link upon button click
I'm using Next.js. The cloudinary url that gets generated from cloudinary.uploader.upload... is result.secure_url in my app/page.js file. The button code is in app/components/Cloudinary.js and is ...
0
votes
1
answer
131
views
JavaScript - ERR_EMPTY_RESPONSE
I am new to programming. Please help me solve the problem, my work has stopped. I have a ClickHouse database. I need to perform a GET request on it and get tabular data. The post is completed ...
-1
votes
1
answer
443
views
Why does Postman allow Body in GET requests? [closed]
I am using axios to interact with the backend server, and in the process, I found something interesting. In Postman, it is possible to attach data in the request Body and receive responses with the ...
0
votes
0
answers
48
views
Consent to cookies on google domain REST request?
Need to pull a string/array from google maps (e.g. https://www.google.com/maps/@/data=!3m1!4b1!4m2!11m1!2sVL_AlqDaR1ymbWlQfsT7Jw) preferably using a simple GET as anything more seems unnecessarily ...
0
votes
0
answers
36
views
How can I save the language of the login page and will be displayed in the next page using JavaScript and without localstorge?
How can you save the last language displayed in the login page and going to the next page and garding the same language for exemple i choose French in the login page and the next page must be in ...