api-designer
api-designer copied to clipboard
Questions: can use api-designer to send request to my test server to test the API?
just like postman does. does api-designer support that?
i try to POST my request to my service (127.0.0.1:8180) and
- if i click 'API is behind a firewall', it POST http://127.0.0.1:8180/v1/device,and the response is:
Status
0
Headers
- if uncheck 'API is behind a firewall', it POST /proxy/http://127.0.0.1:8180/v1/device, and the response is
Status
404
Headers
connection:
keep-alive
content-length:
51
content-type:
text/html; charset=utf-8
date:
Fri, 09 Sep 2016 14:24:06 GMT
x-content-type-options:
nosniff
x-powered-by:
Express
Body
Cannot POST /proxy/http://127.0.0.1:8180/v1/device
1
Cannot POST /proxy/http://127.0.0.1:8180/v1/device
We will fix the proxy issue for the second case. Not sure why the first case doesn't work though if you see it is posting to the right url. Did you confirm same post is working from postman or terminal?