-
Notifications
You must be signed in to change notification settings - Fork 106
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
Comments
here for the assignment! |
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 |
@blackgirlbytes Would you mind an update or close here if no longer valid? |
PR here. Needs to be refactored to use the newer Shnip structure |
SSI documentation was removed, so I'm closing this issue. |
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: