skip to Main Content

Prevent ClosableHttpClient from sending cookies – Shopify

I am attempting to write a private app for the Shopify API in Java. I'm using the org.apache.http library to write my requests. Below is my current request: CloseableHttpClient httpClient = HttpClientBuilder.create().setDefaultRequestConfig(RequestConfig.custom().setCookieSpec(CookieSpecs.STANDARD).build()).build(); HttpPut putRequest = new HttpPut(request); StringEntity params; try…

VIEW QUESTION
Back To Top
Search