![]() ![]() Using Javascript to handle our request allows us to control setting the HTTP header as well as submitting the content in other formats, such as JSON or XML, instead of the commonly used key/value pairs that get submitted as text.įurthermore, this method does not use any plugins, so will also work in FileMaker Go. Some third party web services may require specific headers be set in order for them to work properly. I say “some” support because you have no control over setting http headers or other attributes as part of the request. Why do this at all?įileMaker 13 introduced some support for using this request method (via httppost) with the “Insert from URL” script step. As opposed to other methods for getting data back from a web script, this allows us to continue working while the script works in the background. This is the object used by javascript to request and return information within a web page without reloading the entire page.įor our purposes, the asynchronous aspect is important to us. Some time in the 90s, microsoft introduced support for something called XMLHttpRequest, or XHR. Despite the name, the use of XML is not required. What is AJAX?ĪJAX stands for Asynchronous Javascript and XML. Using POST, you can get arbitrarily large amounts of data submitted without relying on the URI string length. The main difference between these two methods are that GET will submit all data as part of the URL, whereas POST will enclose the data as part of the message body instead of the location. These are specified in an HTML form as an attribute of the “form” element. There are several others that exist, but GET and POST are the most common. POST is a http method of submitting information to a web server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |