C
C#3w ago
surwren

What is the quickest way to copy API structures (headers, payload, response) from browser inspector?

As per title. I'm calling an API that a different react app also calls, and it would be nice to see what structure they use for their payload/responses at a glance, particularly since some of the SWAGGER information is in a different language I am not fluent in. Right now I am manually selecting and copy + pasting (headers, payload, response), what is a faster or more sane way of going about this?
No description
4 Replies
Omnissiah
Omnissiah3w ago
wait, you have their swagger json?
surwren
surwrenOP3w ago
they are using apifox, it's similar to SWAGGER but 1) it's in Mandarin and 2) some of the endpoints on their site are using different KVP from what their apifox docs state I need a sane way to check their React API calls to verify, there is only so much that I can achieve with google translate
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
surwren
surwrenOP3w ago
It would really be nice if I could actually contact them I'm not the one who chose to do business with them The apifox says that post payload for one of their endpoints has 4 KVP (mandatory) but when they call it on their react they only use 2/4
Want results from more Discord servers?
Add your server