全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 解决方案 / 解决方案详情

这道题面试要考:GET和POST两种基本请求方法的区别?

后端 前端 2022 598次浏览

GET和POST是HTTP请求的两种基本方法,要说它们的区别,可是面试中的常考题之一。

| 0 收藏

解决方案

6nVj9lQsixbYa8/8YbEx+ynpd0HB/gDrJpuS2wdmmx2W+J/y430qmLrPcwAYyU5xHs8xF99xmUzVx++K7kFIw726fNbrvnoWBLtanKVUPYwAtXJcR7bMnCa09gfNOLxtncTlexVsIj61qFeLbHcvw8BOAW339PgKJNWPicJPfJw0f2cfvw+KZFcQXgBAmY7jkIqFAgzc0MBvUJB+/Ue5d2kux3kDtc6SDU4q2l/i7F8FjVXSZHgQTTRRFSajQZsRH5HPdUGM5MVZo8Uy7/OQvK0uw3mVr3AfOAb3OJnKesYl4nTzd014xfT0xsa9Un4TH6JVInDj+wCY7gsrvo3a/6mMU49OsZ/DQvcuzBW9N2pvYZjt8KILfAWV1QymgWTQ3stsz1GPiYMxtB2M6yuZ2N1zUb3ymhXL52sBBRXnR+uOicBmc/KGoOFV47aPNUjEWbGzE2bsfCvNZ0b58W6j9GideXyeCaywFyZmOJ+tLyzZYl4JUbANMt5EIYcUebbCx3emBNbj0KlwvHBWh56FodrygC99vnUnQ1dbMVHb/Et0PVjFzgJtuzUiK/3Dde6JCn8x+1/1YFRSV1nJ4TczpDe6bVh5feFbrxbglLiGwXE9RRkzd1/ga9nFY7DKusxzN2pB6QgMqGbB8mMm9J2PwE9g8dKpw5ddq/fJK5uOz75nuZHgtoFrAVl9agVsFHmHPZ9k0rN2xvW+XSeYrqebCKMlmdCyAshdkBnhHuqXoMO6GlpSoTbvQJBZOEdvxqybJE1cBRbtIy7AW9b8JiInojIYA5yb9CBCp17DZ+b2QtdjY2oJqJmZZ4mDxBGij22xrmuF2FCA2Pa191XkuhKirHvt8I1lY9eMrzJ+FqFXu8aZAENzVST5+ftmre1Nrd/MuFYCdrqPUw6bcUS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dad38/Be7+mxAnydq0RIrs35

评论

开发者问答

只服务于

前后端、移动端、测试人员

发布解决方案 发布您遇到的Bug和解决方案,成为大神,让众人膜拜吧!