Replies: 4 comments
|
Are there any solutions in the meantime? |
0 replies
|
Try passing parameters on form-data. |
0 replies
|
@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. |
0 replies
|
What helped me was adding a "/" to the end of the path. So, base-url/api/v2/scan-import/ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
All reactions