Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 633

pls tell me how to make a simple post and reply forum in MERN Stack

by txycc - 30 July, 2022 - 11:16 AM
This post is by a banned member (txycc) - Unhide
txycc  
Registered
130
Posts
4
Threads
2 Years of service
#1
does anyone know how to make as i have a decent knowledge in react  pls let me know 
This post is by a banned member (JohnTheBinReaper) - Unhide
86
Posts
16
Threads
3 Years of service
#2
Code:
 

 
[code]
fetch('https://samplewebsite.com/API/', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ parameterOne: 'something', parameterTwo: 'somethingElse' }) });
 
[/code]
This post is by a banned member (txycc) - Unhide
txycc  
Registered
130
Posts
4
Threads
2 Years of service
#3
(This post was last modified: 30 July, 2022 - 11:32 AM by txycc.)
(30 July, 2022 - 11:19 AM)JohnTheBinReaper Wrote: Show More
Code:
 

 
[code]
fetch('https://samplewebsite.com/API/', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ parameterOne: 'something', parameterTwo: 'somethingElse' }) });
bro pls could u provide me with an example i really need to learn these things

[/quote]

(30 July, 2022 - 11:19 AM)JohnTheBinReaper Wrote: Show More
Code:
 

 
[code]
fetch('https://samplewebsite.com/API/', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ parameterOne: 'something', parameterTwo: 'somethingElse' }) });

and tell me how to implement this in my react project
[/quote]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)