Unable to make POST call to authenticate with DIRECT US CRM vis Postman

365 Views Asked by At

I am trying to authenticate via postman to get a token. The postman keeps returning

{
    "error": {    
    "code": 1,    
    "message": "Not Found"    
    }
}

This is my POST url: localhost:8080/:cabellsdata/auth/authenticate and in my BODY (raw) I have my email and password exactly as stated in docs.

When I do a GET: localhost:8080/:CabellsData/collections/:journalytics, it does work. So why is my POST not working. Thanks

enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER

Looks like you need to delete that : in the project section of your API URL.

0
On

I have PATCH request to update user: http://localhost:8055/users/98f6c2b1-3d1b-4c29-bf29-6d4596bd26dc

and REST call: { "title": "newTitle", "status": "draft" }

but it always throw dont have permission to access this.