object(stdClass)#10 (2) {
["response"]=>
object(stdClass)#3 (2) {
["dataInfo"]=>
object(stdClass)#2 (6) {
["database"]=>
string(6) "1_REST"
["layout"]=>
string(13) "REST_Products"
["table"]=>
string(13) "REST_Products"
["totalRecordCount"]=>
int(4)
["foundCount"]=>
int(2)
["returnedCount"]=>
int(2)
}
["data"]=>
array(2) {
[0]=>
object(stdClass)#5 (4) {
["fieldData"]=>
object(stdClass)#4 (6) {
["Availability"]=>
string(8) "In stock"
["Category"]=>
string(8) "Computer"
["Image"]=>
string(142) "https://fms.itware.ch/Streaming_SSL/MainDB/31129C9C120BBC6DE2F71D61A874CF2A96109DF5F2FC3F61C1EAF1FA840F7577.png?RCType=EmbeddedRCFileProcessor"
["Name"]=>
string(20) "Logitech MX Vertical"
["Part Number"]=>
string(10) "LogiMXVert"
["Unit Price"]=>
int(119)
}
["portalData"]=>
object(stdClass)#6 (0) {
}
["recordId"]=>
string(1) "3"
["modId"]=>
string(1) "5"
}
[1]=>
object(stdClass)#8 (4) {
["fieldData"]=>
object(stdClass)#7 (6) {
["Availability"]=>
string(8) "In stock"
["Category"]=>
string(8) "Computer"
["Image"]=>
string(142) "https://fms.itware.ch/Streaming_SSL/MainDB/FC429E74C970AE1C93BEA2C84835C7F17BC11B162EBEB56DE49BE2AA581BAFF9.png?RCType=EmbeddedRCFileProcessor"
["Name"]=>
string(10) "Logitech G"
["Part Number"]=>
string(5) "LogiG"
["Unit Price"]=>
int(79)
}
["portalData"]=>
object(stdClass)#9 (0) {
}
["recordId"]=>
string(1) "4"
["modId"]=>
string(1) "7"
}
}
}
["messages"]=>
array(1) {
[0]=>
object(stdClass)#11 (2) {
["code"]=>
string(1) "0"
["message"]=>
string(2) "OK"
}
}
}
This sample file was created by Sounds Essential LLC. For more information visit the FileMaker Data API: A Beginner's Guide To Using PHP To Display Data On A Webpage blog post.
This is the session token: a2103a8c3c73eb2c88d99a1560f193f676281e5252d95885240
This is the data returned: Logitech MX Vertical
This is the result of the request to delete the token: {"response":{},"messages":[{"code":"0","message":"OK"}]}