Hi,
I am currently trying to create a new category via curl POST request. I am using the following Command:
“curl -v -u (myapikey):X -X POST -H ‘Content-Type: application/json’ -d ‘{ “name”:“TEST”, “description”:“Test”}, “visible_in_portals”:[1]’ https://(mydomain)/api/v2/solutions/categories”
But i get the following response:
" * Connection #0 to host support.elbcloud.de left intact
{“code”:“invalid_json”,“message”:“Request body has invalid json format”}%"
I used the Command provided by Freshdesk, the only thing I changed, is that I wanted to use the API rather than basic auth. Link: Service Desk API for Developers | Freshservice
Can someone help me?