Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3952854
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:54:17+00:00 2026-05-20T01:54:17+00:00

I have the following querystring (where kvks is dynamic): http://api.openkvk.nl/json/SELECT bedrijfsnaam FROM kvk WHERE

  • 0

I have the following querystring (where kvks is dynamic):

http://api.openkvk.nl/json/SELECT bedrijfsnaam FROM kvk WHERE kvks = 27312152 LIMIT 1;

If you execute this querystring, it will return json data.
What is the best approach to handle this? I tried it in this way, but nothing alerts

url.append("http://api.openkvk.nl/json/SELECT bedrijfsnaam FROM kvk WHERE kvks = ");
url.append(Dossierno);
url.append(" LIMIT 1");

$.get(url, function (data) {
            alert(data); });

Or should I handle this in a separate aspx page?

$.get('getaddress.aspx', { sDossierno : Dossierno} function (data) {
            alert(data); });

If yes, how can I send a querystring and return the json object on the getaddress aspx page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:54:17+00:00Added an answer on May 20, 2026 at 1:54 am

    That’s not query string that you have. It’s part of the uri and ASP.NET won’t probably allow it. You may try the following:

    $.get( 
        'http://api.openkvk.nl/json', 
        { q: 'SELECT bedrijfsnaam FROM kvk WHERE kvks = ' + Dossierno + ' LIMIT 1' }, 
        function (data) {
            alert(data); 
        }
    );
    

    where the corresponding server side script will read the q query string parameter.

    Also I hope you are aware of the implications in terms of security of having a server side script which accepts what seems to be a SQL query and executes it against a relational database. And last but not least don’t forget about the same origin policy restriction and make sure that this script is hosted on http://api.openkvk.nl if you intend to send AJAX requests to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following SQL query - SELECT * FROM dbo.LocalContacts WHERE name LIKE
I'm getting some trouble binding a date from QueryString : I have the following
I have a SqlDependency set up using the following query: string sql = "SELECT
I have following scenario: The Android clients communicate with a PHP server via HTTP
I have the following code to taket the querystring value and return different links
I have the following type of code: String strGroup = Request.QueryString[group]; switch(strGroup.ToString){ case Clients:
I have the following problem in C#, when I pass values with the querystring
I have the following code which I use to set HttpRequest querystring. I want
I have the following REST API: POST /users/martin/notify/... The API is suppose to notify
I have the following code on an ASP page: <% QueryToJSON(conn, execute WebGetEmployeesPlanned' +Request.QueryString(customercode)+',

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.