Browse Source

fix content type

tags/1.1
0nepeop1e 4 years ago
parent
commit
e699731b0e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/MirfalahTransport.php

+ 3
- 0
src/MirfalahTransport.php View File

79
                 'apiKey' => $this->apiKey,
79
                 'apiKey' => $this->apiKey,
80
                 'signature' => hash_hmac('sha1', $body, $this->secret),
80
                 'signature' => hash_hmac('sha1', $body, $this->secret),
81
             ],
81
             ],
82
+            RequestOptions::HEADERS => [
83
+                'Content-Type' => 'text/plain; charset=utf-8',
84
+            ],
82
             RequestOptions::BODY => $body,
85
             RequestOptions::BODY => $body,
83
         ]);
86
         ]);
84
     }
87
     }

Loading…
Cancel
Save