Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
SAP Commerce Cloud APIs use the REST (representational state transfer) architectural style, which means that messages are sent and received in JSON format. You can use these APIs to write custom scripts to automate your processes, and send HTTP requests to SAP Commerce Cloud API endpoints using client libraries.
If the created API curl is incorrect the following errors may occur:
1. Authorization problem:
| HTTP/2 401 Unauthorized |
| Not authorized to update environment. Access Denied Exception |
2. Improper method or curl body
| HTTP/2 411 Bad Request Your browser sent a request that this server could not understand. |
3. Improper header with content-type:
| Content type 'application/json' not supported Http Media Type Not Supported Exception |
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
curl request, ccv2, CP, , KBA , CEC-SCC-CLA-ENV-EMG , Environment Management , CEC-SCC-CLA-CPO , Cloud Portal , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview