1 Reply Latest reply on Sep 21, 2020 9:18 AM by 862758

    Web API Data Extraction

    637289 New User

      Hello,

       

      I am using the Toolbox WebAPI to extract data.  I have everything working correctly from the updated guidance and most calls work fine.  However, whenever there is a "/" in the endpoint tree the call will return a 404 error.  I think it is something to do with how the / is encoded in the URL request.  I have tried the standard %2F but it does not work.

       

      For example this request returns a 404:

      http://localhost:<port>/api/v5/data/endpoint/Human%20Health%20Hazards%23Developmental%20Toxicity%20%2F%20Teratogenicity

       

      If anyone has a suggestion that would be appreciated.

       

      Thanks,

      Matt

        • Re: Web API Data Extraction
          862758 New User

          Hi Matt,

           

          I'm Stanislav and am part of the QSAR Toolbox development team.

           

          Thank you for the provided feedback. We managed to reproduce the issue that you are having. Unfortunately, it is not a matter of how you encode the slash. To resolve the problem, we'll need to update the API and turn the <position> field into a query parameter. This fix will be included in the next release.

           

          Stanislav