Below is the example screenshot once component <ReactRestPlayground />
rendered.
<ReactRestPlayground
method={methodType}
endPoint={apiUrl}
headers={headerDetails}
query={queryParamDetails}
body={bodyDetails}
onSend={() => {}}
/>
- In React Project - https://codesandbox.io/s/react-rest-playground-example-in-react-js-project-d18zu
- In React Typescript Project - https://codesandbox.io/s/react-rest-playground-example-in-react-tsx-nftcl