What are requirements for handler of Push Callback of Foursquare API?
- What http verb 4sq uses to make a call ?
- What parameters/information does it send to my server ?
- What my server should reply ?
Surprisingly I don't see answers on these questions at https://developer.foursquare.com/overview/
Update:
Well, since nobody replied I decided to insert to DB whatever comes to my end-point. Turned out callbacks never reach my server. Foursquare Push Console says my server returns 502 Bad Gateway
which it doesn't. Is it possible that Foursquare backend ignores port number in callback URL ? My url looks like this
https://api.hostmane.com:8443/api/handle_4sq_push