Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 353 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 353 Bytes

CrossDomain

introducation

Example to show how to access cross-domain resource

  • jsonp
  • cors: user npm cors modules or pure javascript
  • script tag

run

run webapp1 as a web server : defualt web pages display all kinds of submit button to test cross-domain resource access run webapp2 as a web server : define get/post router to reply to client