generated from TBD54566975/tbd-project-template
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 Windows-Compatible Curl Commands to SSI Documentation #1005
Labels
documentation
Improvements or additions to documentation
site-feedback
Feedback from developer.tbd.website
Comments
blackgirlbytes
added
site-feedback
Feedback from developer.tbd.website
triage
Issues needing response or filing
labels
Nov 15, 2023
here for the assignment! |
blackgirlbytes
added
documentation
Improvements or additions to documentation
and removed
triage
Issues needing response or filing
labels
Nov 22, 2023
Here's my idea of how to approach this..You can create tabs which will switch between Mac and Windows commands to look like this: Screen.Recording.2023-11-22.at.10.50.12.AM.2.mov
You can do something like this:
|
Also you can probably turn the Tabs component into a reusable component in our application where you just have to pass in the Windows curl command and Mac curl commands as props |
20 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
site-feedback
Feedback from developer.tbd.website
Type
Content Issue
Feedback
Our current documentation provides curl command examples that are compatible with Mac/Linux environments. However, I realized these commands do not work as intended on Windows after helping Hackathon participants who were struggling to run curl commands in our documentation.
This happens because Mac/Linux uses single quotes ('), but Windows uses double quotes (")
Ex:
Works for Mac
curl -X PUT localhost:8080/v1/dids/key -d '{"keyType":"Ed25519"}'
Works for Windows
curl -X PUT localhost:8080/v1/dids/key -d "{\"keyType\":\"Ed25519\"}"
Pages that need to be updated:
Screenshots
Paste relevant images or screenshots here
developer.tbd.website URL
No response
Browser
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: