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/914EFC2ECF5BA905B482FCE8153D7D7741AEE46FFEB6ABADD33266DF79FB2F93.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/C0A1A50D5A89E1DCBB4644B4C092316B1081A19E722FD018879E424F65AE5621.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: bce877b247e8fc969a24be4b26e68a279b8cc13151528e39332
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"}]}