Skip to content

Instantly share code, notes, and snippets.

@kodiyan
Created March 28, 2014 19:02
Show Gist options
  • Save kodiyan/9840461 to your computer and use it in GitHub Desktop.
Save kodiyan/9840461 to your computer and use it in GitHub Desktop.
Calling Mocky Service
import java.io.IOException;
public class MockyRun {
private final static String USER_AGENT = "Mozilla/5.0";
static String url1 = "url";
static MockyCall callM = new MockyCall (USER_AGENT);
public static void main(String[] args) throws IOException {
callM.sendPost(url1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment