SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can cUrl view content added through js?

    Hello,

    The title is pretty self-explanatory.

    I'm sending a cUrl request that retrieves the content (as in HTML code) of a web page. I would like to know what I will get will contain, say, a div created and added using javascript.


  2. #2
    SitePoint Wizard wonshikee's Avatar
    Join Date
    Jan 2007
    Posts
    1,223
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    No.

    curl merely returns whatever the server spits back, same thing as a web browser. The difference is - the web browser will take the data - and process it (this is where the JS is run).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •