Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
latern4 opened this issue Apr 12, 2023 · 1 comment
Open

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

latern4 opened this issue Apr 12, 2023 · 1 comment
Labels

Comments

@latern4
Copy link

latern4 commented Apr 12, 2023

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;' 
@latern4 latern4 added the bug label Apr 12, 2023
@latern4
Copy link
Author

latern4 commented Apr 12, 2023

Please change issue type to Feature Request as it was wrongly opened as a Bug. sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant