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 6651415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:00:31+00:00 2026-05-26T01:00:31+00:00

I have a GET request in a document. The current page I am on

  • 0

I have a GET request in a document. The current page I am on includes that document and then the document is executed. The issue is the document is found when included but the GET request is not because the request that is being sent by GET (according to firebug) is http://www.site.com/watch/http//www.site.com/file/doc.php when the request should just be requested by GET to http//www.site.com/file/doc.php. The current page I am on is http://www.site.com/watch/123456 where watch is an alias for video.php?vid_id=. Anyone have any ideas as to why this is happening?

         $.getJSON("http//www.site.com/file/doc.php?action=view&load=initial&page="+page+"&vid_id="+vid_id+"&username="+username+"&t=" + (new Date()), function(json) {  
  var html = '';
  for(i=0; i < json.length; i++) {
    html += prepare(json[i]);
  }
  $('#shoutbox-list').append(html).find('li').fadeIn(1500);
   $('div[id="chunk"]').fadeIn(1500);
});
  • 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-26T01:00:31+00:00Added an answer on May 26, 2026 at 1:00 am

    You just need to insert a colon into your URL so that it’s a valid resource identifier:

    e.g. change:

    $.getJSON("http//www.site.com/....
    

    to

    $.getJSON("http://www.site.com/....
                   ^
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that gets the current logged in user. userID = request.session.get(_auth_user_id)
Several of my ajax applications in the past have used GET request but now
I have a controller (Spring-MVC) that generates a PDF report on a get request.
I have a function that makes ajax GET request and based on the value
I have the following GET request that returns HTML for a login form, indicating
I have the following code making a GET request on a URL: $('#searchButton').click(function() {
I have a question about JSF and GET http request. How can I get
I have this code working in C#: var request = (HttpWebRequest)WebRequest.Create(https://x.com/service); request.Method = GET;
I want to get only the headers of an URL request. I have been
So I have a class that has the following member variables. I have get

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.