Discussions
Getting card list under user returns error
about 3 years ago by Godwin Igwurube
I am trying to get the card list of a user and am getting a bad request response
the code
return client.method(HttpMethod.GET)
.uri("/cards")
.header("Authorization", "Bearer " + token)
.contentType(MediaType.APPLICATION_JSON)
.accept(MediaType.APPLICATION_JSON)
the request body
{
"juice_user_id": "03ea20d0-1e91-44d4-a37b-40bc1b60d005",
"limit": 15,
"page": 1
}
the endpoint