Skip to content

petercole-401-advanced-javascript/react-api-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab 28 - API Requests in React

About

  • Author Peter Cole
  • Version 1.0.0

Description

  • Using the tools that we’ve demonstrated in the core demo, start to build out the RESTy app, which is a simple clone of Postman.
    • User enters an API URL
    • Chooses a REST Method
    • Clicks the “Go” button
    • Application fetches data from the URL given, with the method specified
    • Displays the response headers and results separately
    • Both headers and results should be “pretty printed” JSON

To Run

  • Clone repo
  • % npm i
  • npm start
  • Enter the api url
    • For example, https://pokeapi.co/api/v2/pokemon/ditto/
  • Click GET

To Do

  • Add rest of the HTTP methods

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published