The Snyk API help will be particularly helpful in troubleshooting this error and can be found here: https://snyk.docs.apiary.io/#
If you receive a response code 404 with error unsupported url it can be due to some missing parameters that are required for the API call to function properly.
For example, if using the Test Maven File API call you may need to verify that you've formed your POST URL correctly. The two parameters required for this call are org and repository, and without them specified in your API call you may receive this 404 error.
An example of a well-formed query is included here:
Note: This link does not work by itself- please substitute the org id with your own and ensure your headers are correctly set.