Giter Club home page Giter Club logo

apitester_for_notion's Issues

초기에 html body 테마 적용 안되는 버그

현재 상황

처음 접속한경우에는, body 에 테마가 적용되어있지 않습니다.
한번 테마를 토글한 이후부터 적용됩니다.

요구 사항

한번 테마를 토글하지 않더라도 초기에도 body 에 테마가 적용되어있어야합니다.

header 나 body 가 올바른 json 이 아닐경우 에러 처리

현재 상황

header 나 body 가 올바른 json 이 아닐경우에 전송버튼을 누르면, console log 에 오류가 뜨면서 전송되지 않습니다.

요구사항

header가 다음과 같은 형식을 벗어가는 json 이거나, json이 아닌값일경우 전송버튼을 누르면 header 에 빨간줄 효과를 주면 좋겠습니다.

{
  "key1": "value1",
  "key2": "value2",
}

body 는 경우에 따라서 json 이 아닐수있기 때문에 JSON.parse 로 오류가 나는경우에는 그냥 string 으로 인식하여 전송됐으면 좋겠습니다.

요청 결과 페이지에 HTTP 상태 출력

현재 상황

요청 결과 페이지에 HTTP 상태가 출력되지 않습니다.
예)
스크린샷 2022-01-03 오후 5 30 07

요구사항

요청 결과 페이지에서 URL 왼쪽에 HTTP 상태가 출력됐으면 좋겠습니다.
100번대는 회색
200번대는 초록색
300번대는 파란색
400,500번대는 빨간색이였으면 좋겠습니다.
예)
스크린샷 2022-01-03 오후 5 30 07

요청에 body 가 json이 아닌경우, javascript 에러 메세지 노출

현재 상황

요청시, body가 내용이 없거나 json이 아닌경우, 결과 창이 다음과 같이 출력됩니다.

스크린샷 2022-01-03 오후 5 48 43

<ReactJson src={response} />이렇게 되어있어서 response 가 json 이 아니면 저렇게 뜨는거같아요

요구 사항

json 이 아닌경우에는 문자열로 출력하게 해야할거같습니다

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.