Skip to content

Conversation

@ramramu3433
Copy link
Contributor

@ramramu3433 ramramu3433 commented Jun 25, 2025

------
with curl 
curl -s -k -H 'Accept: application/json;charset=utf-8' -H "Content-Type: multipart/form-data" -H "Authorization: bearer $TOKEN" ${OPSURL}/api/installation_settings -X POST -F "installation[file]=@installation_settings.json"  
{}%   
------
with om curl
./om -e om_env.yml curl -p "https://30.0.0.5/api/installation_settings"  -H "Content-Type: multipart/octet-stream"   -H "Content-Type: multipart/form-data" -d "installation[file]=@installation_settings.json" -x POST
Status: 200 OK
Cache-Control: private, no-store
Connection: keep-alive
Content-Length: 2
Content-Security-Policy: script-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; object-src 'none';
Content-Type: application/json; charset=utf-8
Date: Wed, 25 Jun 2025 14:24:24 GMT
Etag: W/"44136fa355b3678a1146ad16f7e8649e"
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Referrer-Policy: strict-origin-when-cross-origin
Server: Ops Manager
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Content-Type-Options: nosniff
X-Deprecated: This endpoint is deprecated and will be removed in the next release of Tanzu Ops Manager
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: f52d193f-78cc-4bce-bdcd-c0ea91d057dc
X-Runtime: 0.528417
{}
rjanakiraman@G16F6F3M29 om % echo $?
0

@ramramu3433 ramramu3433 requested review from a team and drich10 June 25, 2025 16:25
Copy link
Contributor

@krsri krsri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ramramu3433 ramramu3433 merged commit 599130f into main Jul 1, 2025
1 check passed
@ramramu3433 ramramu3433 deleted the TNZ-47218 branch July 1, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants