Post

2 followers Follow
0
Avatar

Using REST API with Postman

I'm following REST API documentation on how to authenticate with the API, but I get a 500 error in the Postman App. I already got the server location for this user below (curl request to getServerDefinition already gave me ServerLocation: "https://api2.clarizen.com/v2.0/services"):

Here are the associated user settings

Here are the Postman Headers associated (although I didn't get a chance to set these, so they are default)

What am I doing wrong?

Thanks
Matt

Matt Gailer Answered

Official comment

Avatar

Hi Matt,

Your JSON body is invalid. It should be:

{
    "userName": "My Username",
    "password": "My Password"
}
 
I hope this helps,
Elad
Elad Franklin
Comment actions Permalink

Please sign in to leave a comment.

2 comments