Object create through /api/v1/object/create returning 404 not found if trailing forward slash is present

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      When creating an Assets object using the /api/v1/object/create endpoint it returns an unexpected 404 not found result when there is a trailing forward slash in the URL - i.e. calling /create/ instead of /create

      Steps to Reproduce

      1. Try to create an object using the /api/v1/object/create/ endpoint 
      2. 404 not found is returned.

      Expected Results

      The assets object is successfully created.

      Actual Results

      A 404 not found result is returned instead:

      {"type":"about:blank","title":"Not Found","status":404,"detail":"No static resource api/v1/object/create.","instance":"/api/v1/object/create/"} 

      Workaround

      Use the /api/v1/object/create endpoint and not /api/v1/object/create/

            Assignee:
            Atul Arohi
            Reporter:
            Aiden Haak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: