Issue:

I use a query to generate the license: curl -u "user:password" "https://crm.innovatrics.com/api/license/generate/123.xml?hwid=a+rQ3MYV/9JLV=8&note=RESTlicense"

and I am getting error code 500: "Error! hwid must be in base64 format without spaces..."


Cause:

Using standard Base64 in URL requires encoding of '+', '/' and '=' characters into special percent-encoded hexadecimal sequences, i.e '+' becomes '%2B', '/' becomes '%2F' and '=' becomes '%3D'.


Solution:

After you change a+rQ3MYV/9JLV=8  to  a%2BrQ3MYV%2F9JLV%3D8  it should work.


Or using curl and url encoding:

curl -X POST -u "user:password" https://crm.innovatrics.com/api/license/generate/123.xml --data-urlencode hwid=a+rQ3MYV/9JLV=8 --data-urlencode note=RESTlicense