REST Create new TestStep and new line in text
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2021
12:11 AM
10-28-2021
12:11 AM
REST Create new TestStep and new line in text
I'm using Zephyr Squad's REST API to post test steps. How can I post new lines? When I tried to put "\n" (like "First line\nSecond line"), Zephyr Squad returned 400 bad request. This is the REST API method I'm using: https://zephyrsquad.docs.apiary.io/#reference/teststep/create-and-get-all-teststep/create-new-testst...
When I put new line in the browser and get test steps with REST API, new lines are "\n".
Labels:
- Labels:
-
APIs
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2021
12:52 AM
10-28-2021
12:52 AM
Seems that I found a solution for this. You shouldn't put CR (ascii 13) as I did. You should put "\" (ascii 92) and "n".
