I can't seem to get the token back from the api I get a bad request.
I am using java and a basic header at this point since its the token request.
TokenRequest tr = new TokenRequest("username","password");
RestTemplate restTemplate = new RestTemplate();
Anyway that the basic code. I can call this api no problem with the default built in rest client I have in the IDE.
I am pretty stumped and can't figure out what needs to be in the header since my built in rest client has one item in header. Accept: */*
Anyone have any ideas?