GET-request to plugin

Discussion in 'Spigot Plugin Development' started by OcelotJungle, May 25, 2017.

  1. I want to write a plugin that will receive a GET-request with two Strings and send back an Integer value. But I dont know how to work with HTTP, Servlet and the same things, please help me. It will be big help if you show me simplest plugin what recieves GET-request and reacts any way.
     
  2. i would recommend asking the question on https://stackoverflow.com/ since its not really a spigot plugin related question in the first case.
     
  3. Mas

    Mas

    If you tried Googling you could easily find the answer...
    http://bfy.tw/BzoO

    EDIT: Nvm, misunderstood question
     
    #3 Mas, May 25, 2017
    Last edited: May 25, 2017
  4. Let's find the answer to my question, I tried it and that's why you see this thread. I absolutely dont know how to make my server able to see the get-requests.