This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| A simple Javascript/HTML script demonstrating GET and POST calls. | |
| Can also adjust to Http/Https request | |
| Download and load the in either Chrome or Firefox and follow the instructions. | |
| The examples demonstrate one "CORS" API and one that isn't. | |
| --> | |
| <html> | |
| <head> | |
| <script> | |
| function http_request(url, method, post_data){ |