Javascript-is there any useful api debugging tool for php development?

Source: Internet
Author: User
Tags network function
My team is a website. Most of my colleagues are responsible for writing front-end js and others. I am responsible for writing php api interfaces on the server. I saw this problem just now: segmentfault. comq100000004477444 so I was curious to know if there was any corresponding call for the back-end api... my team is a website. Most of my colleagues are responsible for writing front-end js and others. I am responsible for writing php api interfaces on the server.

I saw this problem just now: https://segmentfault.com/q/1010000004477444
So I was curious to find out if there were any debugging tools for backend APIs?

Because all interfaces I write now receive js json requests and return json. Although it is relatively simple, the test volume is relatively large.
I now write shell at the underlying layer to simulate front-end ajax requests. The number of interfaces is too large to maintain.

Is there any debugging tool for backend APIs?

Supplement: You should not mention postman any more. The links are full of postman, and we all know it.

Reply content:

My team is a website. Most of my colleagues are responsible for writing front-end js and others. I am responsible for writing php api interfaces on the server.

I saw this problem just now: https://segmentfault.com/q/1010000004477444
So I was curious to find out if there were any debugging tools for backend APIs?

Because all interfaces I write now receive js json requests and return json. Although it is relatively simple, the test volume is relatively large.
I now write shell at the underlying layer to simulate front-end ajax requests. The number of interfaces is too large to maintain.

Is there any debugging tool for backend APIs?

Supplement: You should not mention postman any more. The links are full of postman, and we all know it.

Mac can be usedPawThis app

Postman

Advanced rest client

Push curl and bat in command line

Google plugin DHC

Postman is easy to use.

  1. Chrom browser plug-in postman
    Api content can be grouped.

This solves the problem that your interface quantity is too large to be maintained.
This link provides a detailed introduction
Http://chromecj.com/web-development/2014-09/60.html

2.Use the network function of the chrom F12 shortcut.
During debugging, I am basically reading http request and response

3.Add log in php code
View request parameters, returned data, and so on.
The bug encountered after the project was launched basically solved by analyzing logs.

If you have other questions, you can add comments. If there is something wrong with me, I 'd like to point it out.

Why not use postman?
Do you want to try this? I like it, but I have been using it for a long time. It is convenient and easy to use.

DHC (aka Dev HTTP Client), plug-in

I have been using postman.

Postman chrome plugin https://www.google.com.hk/url? Sa = t & CTS = j & q = & esrc = s & source = web & cd = 1 & ved = 0ahUKEwja49yXnNHLAhUiOJoKHRXuDdQQFggaMAA & url = https % 3a % 2f % 2 fchrome % 2 egoogle % 2 ecom % 2 fwebstore % 2 fdetail % 2 fpostman % 2 %%3fhl % 3den & usg = signature & sig2 = 5FGsqB336q6SzsSZTddNSA

Postman

Postman + Charles, which provides powerful interface debugging

Postman. I have been using it. It's basically enough. You can upload images and files.

This tool is easy to use !!!! Processing of images and other items is quite convenient !! Www.huazhu8.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.