-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.jsx
More file actions
22 lines (20 loc) · 687 Bytes
/
App.jsx
File metadata and controls
22 lines (20 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import PostRequestHooks from "./PostRequestHooks";
import PostRequestAsyncAwait from "./PostRequestAsyncAwait";
import PostRequestErrorHandlingWithTryCatch from "./PostRequestErrorHandling";
import PostRequestSetHeaders from "./PostRequestSetHeaders";
const ReactFetchPostApp = () => {
return (
<>
<h1 className="text-center text-3xl">
React HTTP POST Requests for Reqres API using Fetch in Different way
</h1>
<div className="my-5 space-y-5">
<PostRequestHooks />
<PostRequestAsyncAwait />
<PostRequestErrorHandlingWithTryCatch />
<PostRequestSetHeaders />
</div>
</>
);
};
export default ReactFetchPostApp;