Skip to main content

A small ssh display tool

Project description

djangoFeignClient

install

pip install djangoFeignClient

example

from feign_client.feignClient import FeignClient


class EurekaTest(unittest.TestCase):
    
    def test_eureka_user_login(self):
        data = {
            'username': 'admin',
            'password': '123456'
        }
        
        # eureka_server address
        host = '127.0.0.1:8081'
        
        # eureka app name
        app_name = 'test_app'
        
        # http request method
        method = 'POST'
        
        # request path
        path = '/user/login'

        res = FeignClient(eureka_server = host, method = method, path = path, app_name = app_name, data = dict(data)).result
        
        print(res)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangoFeignClient-0.0.2.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file djangoFeignClient-0.0.2.tar.gz.

File metadata

  • Download URL: djangoFeignClient-0.0.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for djangoFeignClient-0.0.2.tar.gz
Algorithm Hash digest
SHA256 baaf2180183e70f8bd935d623371a3b0d387d321d1043586f0cb006c8ff7bd73
MD5 c9872f569be2cdaae1c5562e208948c7
BLAKE2b-256 578661243a8100a0d88612319bee8d11c802c7747269506857016ec4719e8ecd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page