Replies: 4 comments
-
Are there any solutions in the meantime? |
Beta Was this translation helpful? Give feedback.
-
Try passing parameters on form-data. |
Beta Was this translation helpful? Give feedback.
-
@romulogm nailed it. To be 100% safe, one can import the API contract (eg. https://demo.defectdojo.org/api/v2/doc/?format=openapi) into Postman and have a look at how the requests are constructed. |
Beta Was this translation helpful? Give feedback.
-
What helped me was adding a "/" to the end of the path. So, base-url/api/v2/scan-import/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I may be using the API wrong, but no matter what payload I send to the two endpoints in the title, I always get
"product_name parameter missing"
as a response, along with400 Bad Request
.If I execute these endpoints through the swagger docs, there is no issue, but in Postman I keep getting this response. I even duplicated the swagger doc payload and still get the issue.
This happens whether I run defectdojo locally, or use the demo tool.
I have attached an image of a request I am sending. Any one have ideas on what is going wrong?
Beta Was this translation helpful? Give feedback.
All reactions