If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Best practise is to avoid duplication of PK (id, code) between URL PATH and payload.
There should be only one place where unique identifier is, for example to check authorization of requester to perform this action. This change is documented in Apiary.
relevant lines covered
hits per line