1 | <?php |
||
10 | class GET extends AbstractRequest { |
||
11 | |||
12 | /** |
||
13 | * @inheritdoc |
||
14 | */ |
||
15 | protected static $_TYPE = 'GET'; |
||
16 | |||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | protected static $_DEFAULT_HEADERS = array( |
||
21 | "Content-Type: application/json" |
||
22 | ); |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | * |
||
27 | * Convert Body to Query String |
||
28 | */ |
||
29 | public function setBody($body){ |
||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | * |
||
37 | * Configure the URL with Body since Payload is sent via Query String |
||
38 | */ |
||
39 | public function send(){ |
||
47 | |||
48 | } |