You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSC ipaddr:8090/api-doc manually test API POST e.g. POST /api/server/v1/virtualizationConnectors/{vcId}/serviceFunctionChain got "bad request" by default using default content-type "application/xml" form, has to select "application/json" to make it work.
Expected Behavior
API should accept both format xml/json when do POST or PUT
Actual Behavior
Only accept Json format (default is Xml) to POST or PUT, Xml got error "Bad Request"
Steps to Reproduce
1)https://10.3.240.156:8090/api-doc/ ->Operations for Virtualization Connectors
2)POST /api/server/v1/virtualizationConnectors/{vcId}/serviceFunctionChain and enter white entries value of "vcId" and "body" for name and virtualSystemIds
3)Click "Try It Out!" and response got "bad request"
4)Select from Xml to Jason, POST works and got response 200
@alin2k what does "enter white entries value" mean?
description is unclear, please add logs better description and screenshots if applicable. Please have one of the other QA members review this as well.
Steps modified. log attached when it's a "bad request" in POST.
Basically Dev knows API POST has to use Jason instead Xml which is default in API web page
Description
OSC ipaddr:8090/api-doc manually test API POST e.g. POST /api/server/v1/virtualizationConnectors/{vcId}/serviceFunctionChain got "bad request" by default using default content-type "application/xml" form, has to select "application/json" to make it work.
Expected Behavior
API should accept both format xml/json when do POST or PUT
Actual Behavior
Only accept Json format (default is Xml) to POST or PUT, Xml got error "Bad Request"
Steps to Reproduce
1)https://10.3.240.156:8090/api-doc/ ->Operations for Virtualization Connectors
2)POST /api/server/v1/virtualizationConnectors/{vcId}/serviceFunctionChain and enter white entries value of "vcId" and "body" for name and virtualSystemIds
3)Click "Try It Out!" and response got "bad request"
4)Select from Xml to Jason, POST works and got response 200
Additional Information: log attached:
xmlPostBadReqLog800.txt
Environment
Status
The text was updated successfully, but these errors were encountered: