Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Javascript does http requests almost just like a browser does, once you figure out what they are you can try to re-create them in perl/python/etc. With Firefox+Firebug you can see the requests in the 'Net' panel.</p> <p>Things you might have to take into account are user-agent string, cookies, the fact that sometimes the returned data is meant to be run/interpreted by Javascript etc. Maybe your language of choice has a nice httpbrowser class you can use?</p> <hr> <p>Just took a look, searching for IBM, took the post data from Firebug, replaced newlines with '&amp;' and put it after the request url:</p> <pre><code>[http://bcode.bloomberg.com/sym/dwr/call/plaincall/searchMgr.search.dwr?callCount=1&amp;windowName=&amp;c0-scriptName=searchMgr&amp;c0-methodName=search&amp;c0-id=0&amp;c0-e1=string:ibm&amp;c0-e2=string:&amp;c0-e3=number:100&amp;c0-e4=number:0&amp;c0-e5=boolean:false&amp;c0-param0=Object_SearchCriteria:{search:reference:c0-e1,%20filter:reference:c0-e2,%20limit:reference:c0-e3&amp;,%20start:reference:c0-e4,%20allSources:reference:c0-e5}&amp;batchId=4&amp;page=%2Fsym%2F&amp;httpSessionId=&amp;scriptSessionId=FBC68693A4E1BC08D6E0DDFBDF6D0860] </code></pre> <p>but it returns</p> <pre><code>throw 'allowScriptTagRemoting is false.'; //#DWR-REPLY if (window.dwr) dwr.engine.remote.handleBatchException({ name:'java.lang.SecurityException', message:'GET Disallowed' }); else if (window.parent.dwr) window.parent.dwr.engine.remote.handleBatchException({ name:'java.lang.SecurityException', message:'GET Disallowed' }); </code></pre> <p>and no data.. So it looks like you have to script a post request. Looking at their restrictions and guidelines, maybe you should just get in touch and ask if there's a public API?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload