Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit f795cfe

Browse files
committed
updated request header
1 parent 499f86b commit f795cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DeepLAPI/Endpoints/DeepLEndpoints.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension DeepLAPIEndpoint: Endpoint {
2929
var header: [String: String]? {
3030
return [
3131
"Authorization": "DeepL-Auth-Key \(DeepLAPI.authToken)",
32-
"Content-Type": "application/json"
32+
"Content-Type": "application/x-www-form-urlencoded"
3333
]
3434
}
3535

0 commit comments

Comments
 (0)