CA Service Management

Expand all | Collapse all

Hi , for api call I am trying to add post and options method for same end point,but when we are calling options method , I am not getting response back, it says "404 not found",could any one suggest how to combine those those requests.

  • 1.  Hi , for api call I am trying to add post and options method for same end point,but when we are calling options method , I am not getting response back, it says "404 not found",could any one suggest how to combine those those requests.

    Posted Apr 09, 2018 11:43 AM
    • POST is working fine , but for OPTIONS getting error:

    <html>

        <head>

            <title>404 Not Found</title>

        </head>

        <body>

            <h1>Not Found</h1>

            <p>The requested URL was not found on this server.</p>

            <hr/>

            <p>

                <i>The DevTest VSE service could not match your request to a recorded request.  Consider expanding your service image.</i>

            </p>

            <br/>

            <font size="-2">Produced by a DevTest virtualized web server.</font>

        </body>

    </html>

     

    OPTIONS method is not having body part.



  • 2.  Re: Hi , for api call I am trying to add post and options method for same end point,but when we are calling options method , I am not getting response back, it says "404 not found",could any one suggest how to combine those those requests.
    Best Answer

    Posted Apr 20, 2018 12:44 PM

    SDM Rest just support CRUD requests:

    • POST (CREATE) creates a resource.
    • GET (READ) returns a representation of a resource.
    • PUT (UPDATE) updates an existing resource.
    • DELETE deletes the resource.

     

    REST HTTP Methods - CA Service Management - 17.1 - CA Technologies Documentation 

     

    OPTIONS are not available



  • 3.  Re: Hi , for api call I am trying to add post and options method for same end point,but when we are calling options method , I am not getting response back, it says "404 not found",could any one suggest how to combine those those requests.

    Broadcom Employee
    Posted Apr 25, 2018 10:39 AM

    Amit........

     

    Did the information provided by Ricardo help?

     

    If so, please mark Ricardo's answer as correct so that this thread can be closed.