Giter Club home page Giter Club logo

ekip-toy-project's Introduction

ekip-toy-project

Servisler

Tüm servisler GET methoduyla çalışıyor. Servis adresi: http://env-6931569.jelastic.dogado.eu/ Kullanılabilir Servisler: Check, Login.

Check

Herhangi bir parametre verilmedigi zaman, ekip elamanlarının isimlerini array olarak döndürüyor. Örnek: http://env-6931569.jelastic.dogado.eu/Check

name parametresine yukarıdaki sorgudan dönen herhangi bir elemanın ismi verildiğinde o elemanın tüm ismini dönüyor. Örnek: http://env-6931569.jelastic.dogado.eu/Check?name=ali sorgusu "seref ali yataman" sonucunu veriyor.

Bunlar dışındaki tüm durumlarda "error" sonucunu dönüyor.

Login

Kullanıcı adı ve şifre girdilerini kontrol ediyor. Aslında server tarafında herhangi bir kullanıcı-şifre bilgisi yok ama client tarafında login olayını test etmek için kullanılabilir. username ve password olmak üzere 2 parametre alıyor.

username ve password'ün verilmesi durumunda eğer username-password eşleşmesi doğru ise "OK" sonucunu aksi takdirde "WRONG" sonucunu dönüyor.

Diğer tüm durumlarda request'in valid bir request olmadığını gösteren "BAD" sonucunu dönüyor.

"OK" sonucu vermesi için gereken bilgiler. Username: ekip Password: 123456

Örnek: http://env-6931569.jelastic.dogado.eu/Login?username=ali&password=63985 wrong sonucunu dönüyor.

Useful Links

Sublime Editor

Github Download

git.cmd

JSFiddle Demo

ekip-toy-project's People

Contributors

aliyataman avatar celalselcukkaraca avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ekip-toy-project's Issues

Response JSON Object

Arkadaşlar çalışmanızı öncelikle çok beğendimi belirtmek isterim. Öncelikle sınavlarınız olduğu için bu issue daha sonra yapılabilir ama ben aklıma gelmişken yazayım dedim :)

Login ve Check servlet'lerinizi suan normal text dönmekteler. Bunu JSON dönecek şekilde yaparsanız client tarafında javascript yazan kişi parse ederken zorlanmaz ;)

Bunun için servlette Gson kütüphanesini kullanabilirsiniz.

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.