ruby on rails - Using Charles to debug webhook running on Digital Ocean Droplet -


first time using charles , i'm confused. i've watched videos , read thru many tutorial , i'm still drawing blank.

my json response post request stopped working, , can't figure out why. json valid, i'm thinking headers.

i want view header , i'm thinking need use "map remote" feature of charles, hell i'm not sure that.. situation have webhook gets hit post request at:

http://mine.com/webhook/receive 

there rails app lives there on digital ocean droplet, , processes request , renders response this:

render json: my_response 

i think can use charles sit between request , response can view header. i've mapped local machine remote service this: my charles settings

but i'm not seeing traffic come thru.

is charles right tool try , view response webhook? , if so, feature should use?

this may messy workaround, dare post there has been no other answer:

you run charlesproxy on separate machine in same network, , configure machine's 8888 port web proxy machine on develop. way charles record requests.

edit: seeing charlesproxy's faqs answer question similar yours: localhost traffic doesn't appear in charles


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -