Giter Club home page Giter Club logo

http-request-repeater's Introduction

http-request-repeater

Sync http request repeater

Application Input Parameters:

parameter 1: repeat time in seconds example: 500;
parameter 2: url exmaple: "https://domain.com/endPoint";
parameter 3: request body; 

example request json body:
"{\"type\":\"message_new\",\"object\":{\"date\":date_long,
\"from_id\":from_id,\"id\":111,\"out\":0,\"peer_id\":peer_id,
\"text\":\"??\",\"conversation_message_id\":9999,\"fwd_messages\":[],
\"important\":false,\"random_id\":0,
\"attachments\":[],\"payload\":\"{\\"category\\":\\"first\\"}\",
\"is_hidden\":false},\"group_id\":group_id,
\"event_id\":\"event_id\",\"secret\":\"secred\"}"

Run jar example:

java 500 "https://domain.com/endPoint" "{\"type\":\"message_new\",
\"object\":{\"date\":date_long,\"from_id\":from_id,
\"id\":3333,\"out\":0,\"peer_id\":peer_id,\"text\":\"??\",
\"conversation_message_id\":9999,\"fwd_messages\":[],
\"important\":false,\"random_id\":0,\"attachments\":[],
\"payload\":\"{\\"category\\":\\"first\\"}\",
\"is_hidden\":false},\"group_id\":group_id,
\"event_id\":\"event_id\",\"secret\":\"secred\"}"
-jar http-request-repeater-1.0.jar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.