curl examples are incorrect, uses ' instead of "
Make sure you use " instead of ' in curl requests. Here's an example of what will happen otherwise:
console
$ curl -i -X GET 'http://localhost:8080/mock/users?id=29405430' -H 'Client-Id: ***' -H 'Authorization: Bearer ***'
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
curl: (3) URL rejected: Bad hostname
curl: (6) Could not resolve host: Bearer
curl: (3) URL rejected: Bad hostname
1
vote