![]() ![]() Provides the status, time the response took, and the size.Has options to view any cookies in the request, and the headers that were sent back.Provides other views like raw (this is super helpful when using print_r to debug).Displays the body response and formats the response automatically as JSON.Postman does a few things here that are useful for testing: Once you enter the URL, hit “Send” and you’ll see the response at the bottom: Whether you’re working locally or with a live site, you can enter your WordPress site’s URL and append /wp-json/wp/v2/posts With s: The fastest way to get started is to test a public GET request. Add url parameters, authorization, headers, and body data (we will not be covering the other options in this article).In the top area of the new tab, you have a few options: To start making requests, just click the + icon next to the Overview tab in the main column. Once the app is installed, you should see something like this: We’ll be using the desktop version to walk through making requests and viewing the results. No credit card required Sending your first requestįirst, make sure you download and install the Postman app from here. Index upgrades all of your WordPress post types. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |