https://github.com/thephpleague/oauth2-server/tree/master/examples
https://gist.github.com/subfuzion/08c5d85437d5d4f00e58
Since the default is application/x-www-form-urlencoded, the shortest would be
curl -d "param1=value1¶m2=value2" -X POST http://localhost:3000/data
or with a data file,
curl -d "@data.txt" -X POST http://localhost:3000/data
No comments:
Post a Comment