如何对 REST-Web 服务进行逆向工程 [英] Howto Reverse-Engineer a REST-Webservice
问题描述
我目前正在尝试对缺乏文档的私有 REST-Web 服务进行逆向工程.我唯一知道的是,它是用 PHP 编写的,使用 ZendFramework.有没有什么简单的方法可以找出允许哪些操作以及我必须提供哪些参数才能使服务正常工作?
I'm currently trying to reverse-engineer a private REST-Webservice, which lacks documentation. The only thing I know about it is, that it's written in PHP, using the ZendFramework. Is there any simple way of finding out, which actions are allowed and which parameters I have to supply to make the service work correctly?
你好,罗布
推荐答案
如果您有使用该服务的现有客户端(网页、移动应用程序等),您可以使用代理来记录和观察发送的流量/由使用该服务的现有客户端接收.Fiddler 或 Charles 将完成工作.
If you have an existing client using the service (a web page, mobile app, etc.) you can use a proxy to record and observe traffic that's sent/received by an existing client using the service. Fiddler or Charles will get the job done.
这篇关于如何对 REST-Web 服务进行逆向工程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!