Skip to content

Commit 86643f2

Browse files
committed
Fixed APIService overwriteRequest(handle:path:parameters:security:) to configure request with method POST instead of GET.
Preparing for 2.6.3 release.
1 parent 1fef475 commit 86643f2

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Change Log
22
==========
33

4+
Version 2.6.3 *(2021-02-10)*
5+
----------------------------
6+
- Fixed `APIService` `overwriteRequest(handle:path:parameters:security:)` to configure request with method POST instead of GET.
7+
48
Version 2.6.2 *(2021-02-03)*
59
----------------------------
610
- Fixed `MetadataOptions`, `PolicyCall`, and `TransformPosition` options visibility.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ platform :ios, '11.0'
3434
use_frameworks!
3535

3636
target '<Your Target Name>' do
37-
pod 'FilestackSDK', '~> 2.6.2'
37+
pod 'FilestackSDK', '~> 2.6.3'
3838
end
3939
```
4040

@@ -57,7 +57,7 @@ $ brew install carthage
5757

5858
To integrate FilestackSDK into your Xcode project using Carthage, specify it in your `Cartfile`:
5959

60-
`github "filestack/filestack-swift" ~> 2.6.2`
60+
`github "filestack/filestack-swift" ~> 2.6.3`
6161

6262
Run `carthage update` to build the framework and drag the built `FilestackSDK.framework` into your Xcode project.
6363

@@ -69,7 +69,7 @@ Alternatively, if you are adding `FilestackSDK` to your own Swift Package, decla
6969

7070
```swift
7171
dependencies: [
72-
.package(url: "https://github.com/filestack/filestack-swift.git", .upToNextMajor(from: "2.6.2"))
72+
.package(url: "https://github.com/filestack/filestack-swift.git", .upToNextMajor(from: "2.6.3"))
7373
]
7474
```
7575

Sources/FilestackSDK/Internal/Services/APIService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extension APIService {
5959

6060
var request = URLRequest(url: url)
6161

62-
request.httpMethod = "GET"
62+
request.httpMethod = "POST"
6363

6464
return request
6565
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.2
1+
2.6.3

0 commit comments

Comments
 (0)