Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 days ago. Improve this question Problem 1: A PHP session is created by calling the session_start() function. This interferes with the REST API and callback requests. The session must be closed with session_write_close() before making the next HTTP request. I don't know how. Help please.