Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

request.query does not print the query in Fastify (querystring)

I searched for ages, but it just wouldn't print the query, I've no idea what I should do. I'm also kind of new to Fastify. Also I'm sending the request to 127.0.0.1/?greeting=something. const opts = { ...
noah's user avatar
  • 3
0 votes
0 answers
1k views

Query params with special characters in nodejs

My URL: http://abcde.com/result.aspx?q=(some%20name%20here%20):Done&p=1&pos=0&qType=2 Its working in postman and also in curl command. If i try this in nodejs code var http = require("...
Deepak's user avatar
  • 1,443
-2 votes
1 answer
78 views

How can I parse a string of an array into an array? [duplicate]

{scenarios: "[{purchasePrice:11,downPayment:1,term:30,rate:1}]"} That's my object. I want to turn the value of scenarios into the array its trying to be from the string it is. Is there a quick tool ...
Aron Greenspan's user avatar
0 votes
1 answer
361 views

Transform JS object to HTTP GET request query string (using jquery)

I want to request GeoServer using AJAX. Since those request have long query strings I want to modify them comfortably using a js object like this: defaultParameters = { service: 'WFS', ...
nik's user avatar
  • 2,314
0 votes
0 answers
46 views

List Query string paramiters client side

I would like to know if there is some way to retrieve the complete list of valid/supported parameters of a query string from client side. Here an example to clarify my goal: The following Web page ...
E. Soda's user avatar
-1 votes
1 answer
1k views

How to retrieve value in URL and store it in variable [duplicate]

I have an url like below http://www.grcparfum.it/home.php?section=letteradelpresidente&lang=eng in this URL language is english lang=eng i wanna call different JS file when lang is different
Pasindu Ranaweera's user avatar
0 votes
1 answer
233 views

Update querystring in javascript

I have a web page that reads an xml file using ajax. Ajax because I only want to update the numbers not the entire page. It reads the file every 5 Seconds using SetInterval(), because the file is ...
Terje Solem's user avatar
0 votes
1 answer
1k views

Remove characters from request.querystring

I have some code which gets the DrawingId from an url like the one below: /Queue/Queue.aspx?Mode=Autosearch&DrawingID=188320" My issue is after running another part of the program, that url ...
ArtisanSamosa's user avatar
0 votes
1 answer
5k views

Set the value for a hidden parameter from the URL using javascript

I'm trying to set the hidden field for 'item_number' from the Url QueryString for a paypal form. So the URL will look like this "http://website.com/customize.aspx?item_number=FFFF" and code: <...
Omar Little's user avatar
1 vote
2 answers
2k views

Handling Potentially Dangerous Query String

My project implements search (from default HTML page) and will redirect to the search page (ASPX page) and I'm using query string to pass the search value. I'm getting potentially dangerous Request....
KaeL's user avatar
  • 3,661
0 votes
1 answer
2k views

How to pass html via a querystring?

I have comments on my site and because it's its my portfolio I want code samples to be able to be placed however when I try to pass html through the querystring it will stop it because of ...
Shannon's user avatar
  • 837
2 votes
1 answer
10k views

Getting undefined error when using Request.QueryString() to get variuable value

I am using the following code to open a popup window and passing the ID of as query string. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script language="javascript" type="text/...
Lokesh Yadav's user avatar
  • 1,602
2 votes
2 answers
9k views

convert guid tostring in javascript .net

How do I convert guid to string in javascript. I am getting guid from the querystring, and m not able to process it as is. I have tried the following ways to do it but it doesnt seem to work. var ...
Hadesara's user avatar
  • 159
0 votes
2 answers
67 views

Extracting Query String From eExteranl

Is it possible (and appropriate) to open a new window to an external URL, have my users process a form on that site (which generates a query string with name/value pairs) and then parse the pairs of ...
user avatar