Anyone could tell me how can I send a GET and POST method in the same call using Slim Framework? What I'm trying to do is to create a call like:
http://mywebserver.com/api/sync/google
The last parameter in this call (google) is a variable where i can set different services identified as String; I also want to send via POST the user data when calling this URL, I was trying so many things and I can't get it, any help would be appreciated.
Anyone could tell me how can I send a GET and POST method in the same call...
You can't make a GET and POST request in the same "call" - a request has a single method, that is how HTTP works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.