Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

feat: Display example RPC requests as a useable CURL command #568

Merged

Conversation

ElliotFriend
Copy link
Contributor

Also displaying generic code snippets for popular languages, as well as in raw JSON format.

A new ExampleRequest component has been made to facilitate this, as well. This component takes a method prop for the name of the RPC method being called, as well as an optional params prop which can pass the object that should be used to populate the RPC request object.

Refs: #565

Also displaying generic code snippets for popular languages, as
well as in raw JSON format.

A new `ExampleRequest` component has been made to facilitate this,
as well. This component takes a `method` prop for the name of the
RPC method being called, as well as an optional `params` prop which
can pass the object that should be used to populate the RPC request
object.

Refs: stellar-deprecated#565
@stellar-jenkins
Copy link

Copy link
Contributor

@tomerweller tomerweller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ElliotFriend ElliotFriend merged commit 031d56c into stellar-deprecated:main Sep 19, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants