Jasonette / Jasonette/documentation

header option for $network.request action not working

Open
#42 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
120
Forks
72
PR merge metrics
No merged PRs in 30d

Description

`{
"type": "$network.request",
"options": {
"url": "http://www.jasonbase.com/messages.json",
"method": "post",
"data": {
"user_id": "fI9",
"message": "Hello there"
},
"header": {
"auth_token": "fnekfla98dls9sNFK0nf3"
}
},
"success": {
"type": "$render"
},
"error": {
"type": "$util.alert",
"options": {
"title": "Error",
"description": "Uh oh, something went wrong"
}
}
}`

In the previous code, if we pass header with this request, it doesnot add header.
Android File: JasonNetworkAction, header option condition is not handelled.

can i do pull request to patch this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Android file JasonNetworkAction and inspect how the request options handle the header field. Reproduce the provided $network.request example, then verify that its auth_token header is added to the outgoing request.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.