NativeScript / NativeScript/nativescript-cli
Chrome Debugger shows all request types as GET request
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.1.2
- Cross-platform modules: 6.1.2
- Android Runtime: 6.1.2
- iOS Runtime: 6.1.1
- Plugin(s): Unrelated
Describe the bug
Chrome Debugger's network tab shows all request types as GET request even though you send a POST request.
To Reproduce
Run tns debug ios, send a POST request, look at the request details.
Expected behavior
It should show correct request type.
Additional context
I only tested this on iOS.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with tns debug ios using the versions listed in the report, then inspect the debugger path that supplies request details to Chrome's network tab. Confirm the behavior with a POST request and verify that the displayed request type matches the actual method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- cli, devtools, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100