Skip to content

Add Line Breaks to Copy Curl command to increase readability #666

Description

@latern4

Environment

  • Platform+version: iOS 16.3.1
  • FLEX version: 5.22.10

Bug Report

Usually we have to copy cURL requests into JIRA. When copying cURL requests from Network History in Flex Debugger, always text contains no line breaks. With formatting means of JIRA (e.g. tag {code:java} or {noformat}), the pasted content is always on one line and not quite readable.
Please add Line Breaks (LF or CR) to below text before every "-H" so that content is on more lines and thus better readable and visible and not only beginning of it.

curl -v -X GET '/path/to/endpoint' -H 'X-App-Id: someAppId' -H 'X-Application-OS: iOS' -H 'X-Application-Platform: IOS;1170x2532;biometrics=FACE_ID;scale=3.0;ppi=460' -H 'Accept: application/json' -H 'Authorization: Bearer 3d7e4aad-f196-473e-a71f-d63a47c37e48' -H 'X-Application-Type: someAppType' -H 'X-ApplicationInstallation-ID: install-id' -H 'Accept-Language: en-GB' -H 'X-Application-App-Version: 3.4.5' -H 'X-Application-Device: iPhone 13' -H 'Platform: IOS;1170x2532;biometrics=FACE_ID;scale=3.0;ppi=460' -H 'X-Request-ID: request-id' -H 'X-Application-OS-Version: 16.3.1' -H 'Session-Id: session-id' -H 'User-Agent: App/Version (app-identifier build:2023-03-21T1459-32822; iOS 16.3.1) Alamofire/5.6.4' -H 'Accept-Encoding: br;q=1.0, gzip;q=0.9, deflate;q=0.8' -H 'Cookie: 4G0qy9fDDI=wzQX0EMhWMIIuYJ3f7HFZeAhlpDkWJzb; NHIJACZdcO=jgGJcVfp4B8o1bArrhEGj64LkTMFJ0y8' -H 'Cookie: 4G0qy9fDDI=wzQX0EMhWMIIuYJ3f7HFZeAhlpDkWJzb; NHIJACZdcO=jgGJcVfp4B8o1bArrhEGj64LkTMFJ0y8;' 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions