Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react js http post 500 internal server error

 res.header('Access-Control-Allow-Origin', '*');
 res.header('Access-Control-Allow-Headers', 'Content-Type');
 res.header('Access-Control-Allow-Methods','GET, POST, PATCH, PUT, DELETE, OPTIONS');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #js #http #post #internal #server #error
ADD COMMENT
Topic
Name
1+2 =