-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
I'll try to make it short...
If you use the call https://www.crop-diversity.org/mgis5/brapi/v2/serverinfo, you'll notice the 'germplasm' call does only implement the "GET" method.
{
"contentTypes": ["application\/json"],
"dataTypes": ["application\/json"],
"methods": ["GET"],
"service": "germplasm",
"versions": ["2.1"]
}
However, BRAVA will try and test the germplasm call with the "POST" and "PUT" method since they are part of the call definition.

Since my implementation is not supposed to support those methods, it will return a 501 "not implemented" while in the BrAPI specifications, only 200, 400, 401 and 403 codes are allowed.
In my opinion, BRAVA should only test methods that are declared available from the /serverinfo call.