I search SO for similar questions, but even though the title was same, I was unable to find an answer so I am reposting.
I have a REST endpoint which till now was a POST call even though it was only retrieving data. I am trying to convert this to a GET call. The payload is a JSON for the POST method. I know I can convert the JSON into URL parameters and pass it. However I wanted to check if I can pass this JSON as a GET request itself.
Is there any way in PHP to pass JSON in a GET request?