Пример #1
0
 def deleteURL(self, url, headers, body):
     return get_live_url('DELETE',
                         settings.SPOTSEEKER_HOST,
                         url,
                         headers=headers,
                         body=body)
Пример #2
0
 def postURL(self, url, headers, body):
     return get_live_url('POST',
                         settings.SPOTSEEKER_HOST,
                         url,
                         headers=headers,
                         body=body)
Пример #3
0
    def getURL(self, url, headers):

        return get_live_url('GET',
                            settings.SPOTSEEKER_HOST,
                            url, headers=headers)
Пример #4
0
 def deleteURL(self, url, headers, body):
     return get_live_url('DELETE',
                         settings.SPOTSEEKER_HOST,
                         url,
                         headers=headers,
                         body=body)
Пример #5
0
 def postURL(self, url, headers, body):
     return get_live_url('POST',
                         settings.SPOTSEEKER_HOST,
                         url,
                         headers=headers,
                         body=body)
Пример #6
0
    def getURL(self, url, headers):

        return get_live_url('GET',
                            settings.SPOTSEEKER_HOST,
                            url,
                            headers=headers)