post https://api.criteo.com/oauth2/token
Creates a token when the supplied client credentials are valid
Log in to see full request history
Responses
Creates a token when the supplied client credentials are valid
xxxxxxxxxx
10OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "grant_type=client_credentials");
Request request = new Request.Builder()
.url("https://api.criteo.com/oauth2/token")
.post(body)
.addHeader("accept", "application/json")
.addHeader("content-type", "application/x-www-form-urlencoded")
.build();
Response response = client.newCall(request).execute();
Try It!
to start a request and see the response here! Or choose an example: