fiddler使用post方法带参数(base64)请求接口,模拟表单提交,类似工具postman

头格式如下:

Content-Length: 4442
Content-Type: multipart/form-data; boundary=--------------------------898921731036051437757503
Host: localhost:8080

body如下:

----------------------------898921731036051437757503
Content-Disposition: form-data; name="uid"

34
----------------------------898921731036051437757503
Content-Disposition: form-data; name="t"

2
----------------------------898921731036051437757503
Content-Disposition: form-data; name="image_base64"

iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAATnElEQVR4Xu1di7Edtw0lK3BSge0K
YlfguAJLFViuwEoFliuQVUGkCmJV4KiCWBXEqiBSBcicJ+xks7qfBQjwC87c0WjeLpcEcYgvwZyi
BQWCAlcpkIM2QYGgwHUKBECCO4ICNygQAAn2CAoEQIIHggI6CoQE0dEt3lqEAgGQRRY6pqmjQABE
R7d4axEKBEAWWeiYpo4CARAd3eKtRSgQAFlkoWOaOgoEQHR0i7cWoUAAZJGFjmnqKBAA0dEt3lqE
AgGQRRY6pqmjQABER7d4axEKBEAaLTQRfZVS+uzk5z/knH8/+Ww8ZkiBAIghMfddEdE3KSWA4E8X
/i356vuUEsDyf//mnN+UdBrvXqZAAMSAMxgMf00p4fcF/wx6FnfxR0oJv3/iF6AR0++TFwIgChoy
IB4xICAlem6QNgDMrwEY+TIFQE7QjIigJn2XUtpAgf+P2KCWPYAlpfQ654z/R7tBgQDIDeIQ0fcM
CgBjxgagvMw5v55xchZzCoAcqEhEsCF+TCk9YQPbgs699wFJ8jKl9CLnDBsmGlMgAMKEICKoUE/Z
rliZQaCC/RJS5SMLLA8QVqOeNfQ89QpGSJJnOedXvQ6wxriWBUgA4zR7LQ2U5QASwDgNjOODSwJl
GYAQEYJ4zzmqreaSePEhiv+3nDNslenb9ABhrxSAMaurthWTwkUMoEzt9ZoaIEQEdy0M8B4Ce+92
aSAbU2/5VLeYfMvn2p7Z0lk+b4WM3XcxfhjyLzoYi8sQpgQIZ8r+vZE69YGj1VBF8PvDKxOX54m4
DUCEH8BzNkPYkqEwzx+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bcYhCcBygQzrIGb98Vemx8ZtCzTL3+Ah5/9TjykJzZnatJUA06QHd2x87BkRe1L1b
sFzdurc4SijlHrqyVEVOcbviIaUdYqaZWAJEerR2CPtjv6a8WPCsHDNuUdjuWc4Zwa0mTROrGQEg
SjvEzI1tCRCpgd5sty3lYFa5ELtBegwW45Ns3NJvSN+fHCDi7Awr8JsARGmgm+mJUmaa8fnJAaKx
b00MdSuAoBbUcyHjueTvC8cwzeMab4/VLutNRGXxDxMHkBVANAgfxkD3ZgCL/hXpMNXd0dp5ttRQ
rADSTEfUEn2m95QnHYeIg+y8iFIb18STZQUQqYt3mN1rBCApYwVDRNJ3AJEmZZpsAFYAkaa4mwx+
BOatMUYikrrYMawmAU0tPVoFQq0AIhV/4cHScsrhPWUeFnrpPpv3EIMSZ/ZaOCECIEaM2qKbggJ2
b3POlhf6uE+/lRu7GCDKVICQIAYspfBcbV81cYEaTOF0FxqAWEhJC4BojkYOt0CnV7LSg0SEwhgo
kKFpQ6lXmKASIMXBwlYAKR64hitmeIfVKiRNau9OGTLFRxkLKeazAMhAqDG63m046cESRKOpBEAG
4m/1UBkYuN5NKzW2bw8pPQIgataZ70VWoVA5EZnCAATOoVhUfRnuQtSDmzckyHzsfn9GLB2+ZyB4
Vpcc2jESNsh9XpruCb5LHYme3s0kL8l7kLf6D4C0pH6DbyvzpzQjrVLATjMwyTsBEAm1Bn9WmX2r
mfXQdsfKNsjQ+rCGUw+LrTlgJv0swIHSp82PA0sHfun5kSUIcnpQUVHSlk41UWSmSmiLZ6FWPSq5
i0T6Qe/nlSpp8aG84kAhCKMozRkA8buLEBf1PPEumu0NiGP/mlSTyOatvUpG33OSIFCpUHoIaeHT
NSIaOt1dWrt26QNTDgB5w1JDfb1b74hS0Mwkpd9KxZIeuTUr7NX7wl4xOKX0ujZNAANSA/1N3RQA
MdmErQASRRsE7K
----------------------------898921731036051437757503--

图片:

fiddler使用post方法带参数(base64)请求接口,模拟表单提交,类似工具postman_第1张图片

不想这么复杂的话可以使用postmanfiddler使用post方法带参数(base64)请求接口,模拟表单提交,类似工具postman_第2张图片

fiddler使用post方法带参数(base64)请求接口,模拟表单提交,类似工具postman_第3张图片

注意 Content-Type 的值,传参的时候。

 

你可能感兴趣的:(fiddler使用post方法带参数(base64)请求接口,模拟表单提交,类似工具postman)