Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
355 B
3
Indexable
Never


Wrap Lines
String  TINY_URL_PREFIX  =  "http://tiny.amazon.com/submit/url?name=";
final Request request = new Request.Builder().url(TINY_URL_PREFIX + encodedInputUrl).get()
.addHeader("accept", "application/json").addHeader("cache-control", "no-cache").build();
final Response response = client.newCall(request).execute();

How to do the same in python?
Leave a Comment