emidgett1969
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate Endpoints With Rest Api] Endpoint not firing filterplease disregard. thank you
Forum: Plugins
In reply to: [Ultimate Endpoints With Rest Api] Endpoint not firing filterPlease see my reply with the filter code. If the filter fires it should return the string
“akdfjalkdvnlaknflaknflaksnflaknsdlaknsjdlaknsdlaksjdlakjdlaksjdlaksjdlaksdj”
instead of the more intelligent response. This is all of my functionality for now, I will add more soon.
- This reply was modified 6 years, 2 months ago by emidgett1969.
Forum: Plugins
In reply to: [Ultimate Endpoints With Rest Api] Endpoint not firing filterHere is the endpoint definition:
3 slapikey https://myshitlist.app/wp-json/slapi/v1/ticketactivation/?secret_key=SjEdYqX7reGXVaSn7Ij50WthYNdmBetp Show Me
DeleteForum: Plugins
In reply to: [Ultimate Endpoints With Rest Api] Endpoint not firing filterHere is the filter:
add_filter(“wcra_ticketactivation_callback” , “wcra_ticketactivation_callback_handler”);
function wcra_ticketactivation_callback_handler($param){
//$param = All GET/POST values will be received from endpoint
//do your stuff here
$response = “akdfjalkdvnlaknflaknflaksnflaknsdlaknsjdlaknsdlaksjdlakjdlaksjdlaksjdlaksdj”;
return $response;
}Forum: Plugins
In reply to: [Ultimate Endpoints With Rest Api] Endpoint not firing filterHere is the log:
Source : slapikeyApi Secret : SjEdYqX7reGXVaSn7Ij50WthYNdmBetp
Requested URI : https://myshitlist.app/wp-json/slapi/v1/ticketactivation?
IP : 172.74.34.241
Requested At : 6 Mar, 2020 2:53 AM
Response : Connection OK
Response Data : {“status”:”OK”,”response”:”Connection OK”,”code”:200,”data”:{“secret_key”:”SjEdYqX7reGXVaSn7Ij50WthYNdmBetp”,”token”:”38″}}
System Info : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36