I found my problem with this. PubChem PUG/REST tutorial has examples where 
query data is to the left of the ? in a URL query string. Markus originally had 
Resolver set up this way also. This goes back years. I just had some old 
PubChem queries written this way, and they were breaking with SMILES.

Otis

--
Otis Rothenberger
[email protected]
http://chemagic.com


On Mar 7, 2014, at 3:24 PM, Robert Hanson <[email protected]> wrote:

> Jmol handles this by POSTing the request, not GETting it:
> 
> FileManager.getAtomSetCollectionFromFile(http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/SDF?record_type=3d?POST?smiles=C/C=C/C)
> FileManager.getAtomSetCollectionFromFile(http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/smiles/SDF?record_type=3d?POST?smiles=C/C=C\C)
> 
> ?POST? here is just a flag to JSmol to use the POST method. It doesn't 
> actually work in the above link.
> 
> 
> 
> 

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to