Open APIs

 View Only
  • 1.  OpenAPI test connection throws error

    TM Forum Member
    Posted 15 days ago

    Hello everyone,

    I have just setup the environment to test the shopping cart api as available on the open api table and started npm successfully. I have also unblocked the firewall ports 8663 in- and outbound. I still get a connection refused error. The html also throws the same error. I would appreciate your help



    ------------------------------
    Johannes Oberhamberger
    NTS Retail KG
    ------------------------------


  • 2.  RE: OpenAPI test connection throws error

    TM Forum Member
    Posted 15 days ago
    Hi Johannes
    Silly question, perhaps, but is your implementation of the Shopping Cart API running on your local machine (127.0.0.1)? And is it listening on port 8663?
    And did you check relevant basic authentication in the headers?

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: OpenAPI test connection throws error

    TM Forum Member
    Posted 14 days ago

    Thank you very much for the quick reply. It is running on localhost under the specified port.

    I'm only sending the following headers:


    Accept
    application/json

    Content-Typeapplication/json

    User-AgentPostmanRuntime/7.29.0

    Cache-Controlno-cache

    Postman-Token12bf1f42-6dc5-4c89-959d-a67097f220a9

    Hostlocalhost:8663

    Accept-Encodinggzip, deflate, br

    Connectionkeep-alive


    What kind of additional header attribute do I need for authorization as I didn't find any info in the READ.me nor the documentation?

    Thank you in advance!

    Yours sincerely,

    Johannes

    ------------------------------
    Johannes Oberhamberger
    NTS Retail KG
    ------------------------------



  • 4.  RE: OpenAPI test connection throws error

    TM Forum Member
    Posted 14 days ago
    Thanks Johannes
    I've passed this on to the relevant focal in TM Forum, I hope they'll be able to help you.

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------