CAST Console - Extend - Offline extend - Curl command to update the offline Extend proxy fails with 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://<HOSTNAME>:8085/api/update                                                                                                                                                                                                   

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/update</pre>
</body>
</html>

 

 

Release

Yes/No

1.3.x (tick)

 

 

 

RDBMS

Yes/No

Oracle Server  N/A
Microsoft SQL Server N/A 
CSS3 N/A
CSS2 N/A 

 

 

Step by Step scenario

  1. Once the Extension data archive file is available
  2. run curl: command used: curl -H "x-cxproxy-apikey:e3a5e391-2cc2-43e6-bbaa-d491783fca0e" -F "data=@C:\ProgramData\CAST\Data\bundle\default.extarchive" http://<HOSTNAME>:8085/api/update         

 

Action Plan

Please follow the below steps to solve the issue 

  1. Download the required extensions using Extension updater CLI
  2. Export the extensions as extarchive file.Update CAST Extend local server with new content

  3. Use this API with below curl command:  http://<HOSTNAME>:8085/api/synchronization/bundle/upload

curl -H "XCGN1-0BBBCDC445B1DBC1E6BB6913D38C3AD1D8D25DCBFC2FC82BAA3A13F590913081" -F "data=@C:\ProgramData\CAST\Data\bundle\default.extarchive" http://<HOSTNAME>:8085/api/synchronization/bundle/upload

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

 

Ticket # 39567

 

https://extend.castsoftware.com/#/extension?id=com.castsoftware.aip.extendproxy&version=1.3.0-funcrel

Update CAST Extend local server with new content

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk