AIP Console - Extend - Offline extend - Curl command to update the offline Extend proxy fails with error Cannot POST /api/update
Purpose (problem description)
While using CURL to call API to update Extend Offline Proxy, Extensions we get an error: Cannot POST /api/update
This page will help you upload new Extensions to the Offline Extend Service when you come across the error.
command used: curl -H “x-cxproxy-apikey:e3a5e391-2cc2-43e6-bbaa-d491783fca0e” -F “data=@C:\ProgramData\CAST\Data\bundle\default.extarchive” http://
Cannot POST /api/update
Extend Proxy Version
| Release | Yes/No |
|---|---|
| 1.3.x | ✅ |
Observed in RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | N/A |
| Microsoft SQL Server | N/A |
| CSS3 | N/A |
| CSS2 | N/A |
Step by Step scenario
- Once the Extension data archive file is available
- run curl: command used: curl -H “x-cxproxy-apikey:e3a5e391-2cc2-43e6-bbaa-d491783fca0e” -F “data=@C:\ProgramData\CAST\Data\bundle\default.extarchive” http://
:8085/api/update
Action Plan
Please follow the below steps to solve the issue
- Download the required extensions using Extension updater CLI
- Export the extensions as extarchive file.Update CAST Extend local server with new content
- Use this API with below curl command: http://
:8085/api/synchronization/bundle/upload
curl -H “XCGN1-0BBBCDC445B1DBC1E6BB6913D38C3AD1D8D25DCBFC2FC82BAA3A13F590913081” -F “data=@C:\ProgramData\CAST\Data\bundle\default.extarchive” http://
If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input for CAST Technical Support to investigate further.
Relevant input
- CAST AIP Console Logs CAST Management Studio - Information - How to find logs - Needs to be updated for this - no AIP Console logs currently)
- Detail of specific steps done
- Any applicable screenshots
Notes/comments
Ticket # 39567
Related Pages