Sending POST parameters with Postman doesn't work, but sending GET parameters does

前端 未结 10 749
名媛妹妹
名媛妹妹 2020-12-02 10:04

I\'m trying to test a simple PHP page using the Chrome extension Postman. When I send URL parameters, the script works fine (eg the variables are available in the $_RE

10条回答
  •  执笔经年
    2020-12-02 10:44

    Sorry if this is thread Necromancy, but this is still relevant today, especially with how much APIs are used!

    An issue I had was: I didn't know that under the 'Key' column you need to put: 'Content-Type'; I thought this was a User Key for when it came back in the request, which it isn't.

    So something as simple as that may help you, I think Postman could word that column better, because I didn't even have to read the Documentation when it came to using Fiddler; whereas I did with Postman.

提交回复
热议问题