Thank you @Michael Wang for responding.
Yes I used Postman to generate the code. As you can see, the code you generated is identical to mine.
The Post command I am trying to execute is as follows:
$ curl -X GET -H "Authorization: {SESSION_ID}" \
https://{server}/api/{version}/metadata/vobjects
However I am getting an invalid data / invalid header
{"responseStatus":"FAILURE","errors":[{"type":"INVALID_DATA","message":"Invalid http header [Accept: application/json, text/json, text/x-json, text/javascript, application/xml, text/xml]"}]} 190
Here's the error message:
Can you help me understand why I am getting this error message?