2 Replies Latest reply on May 30, 2017 9:47 AM by ryanrutan

    How to use /__services/v2/rest/addons/upload in order to upload addons?

    jayjayprod

      Hello,

      We want to automate the setup of oAuth Addons in order to provide a "self-service" API subscription for our developers.

       

      So, I'm trying to use /__service/v2/rest/addons/upload in order to install an addon into our plateform (on premise).

      Here you can see my POSTMAN request:

      Note : I'm using Admin credentials (via Basic Authentication) and the content-Type header is "multipart/form-data".

       

      When I execute this request, I get a 500 error "java.lang.NullPointerException"

      Any idea to help me?