Anybody can help me make a script

38 views
Skip to first unread message

Operations Zhang Jun

unread,
Oct 2, 2016, 5:08:25 AM10/2/16
to Guzzle - PHP HTTP client and REST client framework
I can use postman call api, and get correct results, but I can not write a Guzzle script.

this is Source message:

PUT /v2/mcc/customers/an/edge/purge HTTP/1.1
HOST: api.edgecast.com
authorization: TOK: xxxxxxxxxxxxxxxx
content-type: application/json
content-length: 63

{
  "MediaPath":"http:\/\/006bai.com\/*.*",
  "MediaType":14
}


Anybody can help me make this php script?

Thanks


Operations Zhang Jun

unread,
Oct 2, 2016, 5:12:27 AM10/2/16
to Guzzle - PHP HTTP client and REST client framework
Reply all
Reply to author
Forward
0 new messages