Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
288896dc
Commit
288896dc
authored
1 year ago
by
Léo Banno-Cloutier
Browse files
Options
Downloads
Patches
Plain Diff
jams-react-client: add encoding in request headers
Gitlab:
#102
Change-Id: Ieba9643399dfd875903e7c9f8e6f88db5763cc10
parent
5746967a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jams-react-client/src/api.js
+1
-1
1 addition, 1 deletion
jams-react-client/src/api.js
with
1 addition
and
1 deletion
jams-react-client/src/api.js
+
1
−
1
View file @
288896dc
...
...
@@ -59,7 +59,7 @@ export default function configApiCall(
config
[
"
headers
"
][
"
Authorization
"
]
=
"
Bearer
"
+
jwt
;
}
config
[
"
headers
"
][
"
Content-type
"
]
=
"
application/json
"
;
config
[
"
headers
"
][
"
Content-type
"
]
=
"
application/json
;charset=UTF-8
"
;
// pass data in the header
if
(
data
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment