asked an hour ago
I am testing the API server with curl and when trying to get the access token I receive this message.
{"type":"invalidRequest","title":"The grant_type field is required.","status":400,"instance":"/v1/Repositories/repositorio/Token","operationId":"c904c087865b4627a1acbd25b5b38d88","errorSource":"Api Server","errorCode":216}
This is the code that Swagger gave me to use in cURL.
curl -X "POST" "http://192.168.2.94/LFRepositoryAPI/v1/Repositories/repositorio/Token" -H "accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&username=XXXX&password=XX"
This error is in swagger
This is Laserfiche 12 self-hosted. Any advice is appreciated. Thanks
0
0