NativeScript / NativeScript/nativescript-cli

Chrome Debugger shows all request types as GET request

Open
#5,111 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.